diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-04-09 10:08:58 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-04-09 10:08:58 +0000 |
commit | e53bc08362741d0f7a24f96b6b3800c7313b46e4 (patch) | |
tree | 87a2cfde62e70361d9a1fa2c085406689eac1d25 | |
parent | 7072159b45f5663e4cbff1a544620edfab024f9b (diff) | |
download | quilt-e53bc08362741d0f7a24f96b6b3800c7313b46e4.tar.gz |
- Remove awk hacks in Makefile.in with shell loop and sed hack:
The awk hack(s) didn't work for Martin Quinson.
-rw-r--r-- | Makefile.in | 20 | ||||
-rw-r--r-- | quilt.changes | 6 |
2 files changed, 20 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index e2cc544..c5e5d1c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -104,9 +104,17 @@ rpm : $(PACKAGE)-$(VERSION).tar.gz rpm -tb $< doc/README : doc/README.in - @awk '/@REFERENCE''@/ { system("$(MAKE) -s reference") ; \ - next }'$$'\n'' \ - { print }' 2>&1 $< > $@ + @echo README.in -> README + @while read line; do \ + case "$$line" in \ + '@REFERENCE''@') \ + $(MAKE) -s reference \ + ;; \ + *) \ + echo $$line \ + ;; \ + esac ; \ + done 2>&1 < $< > $@ .PHONY :: reference reference : $(QUILT:%=quilt/%) @@ -116,9 +124,9 @@ reference : $(QUILT:%=quilt/%) echo; \ (bash -c ". scripts/patchfns ; . $$i -h"); \ done | \ - awk '/Usage:/ { sub(/Usage: ?/, "") ; print ; next } '$$'\n'' \ - { printf " %s\n", $$0 }' - + sed -e '/^Usage: \?/ {s/^Usage: \?// ; p ; d}' \ + -e 's/^/ /' + bin/guards.1 : bin/guards mkdir -p $$(dirname $@) pod2man $< > $@ diff --git a/quilt.changes b/quilt.changes index ac7171a..96dcf99 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Apr 9 12:08:47 CEST 2003 - agruen@suse.de + +- Remove awk hacks in Makefile.in with shell loop and sed hack: + The awk hack(s) didn't work for Martin Quinson. + +------------------------------------------------------------------- Wed Apr 9 04:00:52 CEST 2003 - agruen@suse.de - Never reorder files in patches. (Previously the file list |