summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-01-31 17:06:26 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-01-31 17:06:26 +0000
commit82784f00b124b6fb7d431036ac284289ffe22356 (patch)
tree33cff875bf9a9f3f420d5cc6ef0b0c38c924ba60 /Makefile
parent21a15e55a81ea4bd2bc21729ceebe6be6a9ccd9b (diff)
downloadquilt-82784f00b124b6fb7d431036ac284289ffe22356.tar.gz
Fix buggy regex quoting; another Autoconf change in Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 4b527ed..5b41061 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,8 @@ rpm : $(PACKAGE)-$(VERSION).tar.gz
rpm -tb $<
doc/README : doc/README.in
- @awk '/@REFERENCE@/ { system("$(MAKE) -s reference") ; next }'$$'\n'' \
+ @awk '/@REFERENCE''@/ { system("$(MAKE) -s reference") ; \
+ next }'$$'\n'' \
{ print }' 2>&1 $< > $@
.PHONY :: reference
@@ -147,13 +148,13 @@ clean distclean :
% : %.in
@echo "$< -> $@"
- @sed -e "s:@LIB@:$(LIB_DIR):g" \
- -e "s:@QUILT@:$(QUILT_DIR):g" \
- -e "s:@SCRIPTS@:$(SCRIPTS_DIR):g" \
- -e "s:@PERL@:$(PERL):g" \
- -e "s:@BASH@:$(BASH):g" \
- -e "s:@DIFF@:$(DIFF):g" \
- -e "s:@PATCH@:$(PATCH):g" \
- -e "s:@MKTEMP@:$(MKTEMP):g" \
+ @sed -e 's:@LIB''@:$(LIB_DIR):g' \
+ -e 's:@QUILT''@:$(QUILT_DIR):g' \
+ -e 's:@SCRIPTS''@:$(SCRIPTS_DIR):g' \
+ -e 's:@PERL''@:$(PERL):g' \
+ -e 's:@BASH''@:$(BASH):g' \
+ -e 's:@DIFF''@:$(DIFF):g' \
+ -e 's:@PATCH''@:$(PATCH):g' \
+ -e 's:@MKTEMP''@:$(MKTEMP):g' \
$< > $@
@chmod --reference=$< $@