summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in20
-rw-r--r--quilt.changes6
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