mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

  1. --- ./Makefile.orig 2004-09-07 05:16:38.584125576 +0200
  2. +++ ./Makefile 2004-09-07 05:17:05.934967616 +0200
  3. @@ -18,18 +18,18 @@
  4. ( echo '#!/bin/sh'; \
  5. echo 'source=$$1; shift'; \
  6. echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
  7. - echo exec `head -1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \
  8. + echo exec `head -n 1 conf-cc` '-I. -o $${base}.o -c $$source $${1+"$$@"}'; \
  9. ) >compile
  10. chmod 755 compile
  11. conf_bin.c: conf-bin
  12. - head -1 conf-bin | \
  13. + head -n 1 conf-bin | \
  14. sed -e 's/"/\\"/g' \
  15. -e 's/^/const char conf_bin[] = "/' \
  16. -e 's/$$/";/' >conf_bin.c
  17. conf_man.c: conf-man
  18. - head -1 conf-man | \
  19. + head -n 1 conf-man | \
  20. sed -e 's/"/\\"/g' \
  21. -e 's/^/const char conf_man[] = "/' \
  22. -e 's/$$/";/' >conf_man.c
  23. @@ -55,7 +55,7 @@
  24. load: conf-ld
  25. ( echo '#!/bin/sh';\
  26. echo 'main="$$1"; shift';\
  27. - echo exec `head -1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\
  28. + echo exec `head -n 1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\
  29. ) >load
  30. chmod 755 load