diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-01-30 12:39:08 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-01-30 12:39:08 +0000 |
commit | d21546c2def2a91838704eec183d04ea8b692b18 (patch) | |
tree | 5d32656737947c9b88e452de511b23bbb854b53f | |
parent | 07627e2a5d17e3ebce946d4b46409086a8e9a986 (diff) | |
download | quilt-d21546c2def2a91838704eec183d04ea8b692b18.tar.gz |
Another regex quoting mistake; add rpm makefile target
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | lib/patchfns.in | 2 |
2 files changed, 6 insertions, 3 deletions
@@ -64,6 +64,11 @@ all : scripts scripts : $(BIN:%=bin/%) $(QUILT:%=quilt/%) $(LIB:%=lib/%) \ $(DOC) $(MAN1) +dist : $(PACKAGE)-$(VERSION).tar.gz + +rpm : $(PACKAGE)-$(VERSION).tar.gz + rpm -tb $< + README : README.in @awk '/@REFERENCE@/ { system("$(MAKE) -s reference") ; next }'$$'\n'' \ { print }' 2>&1 $< > $@ @@ -83,8 +88,6 @@ bin/guards.1 : bin/guards mkdir -p $$(dirname $@) pod2man $< > $@ -dist : $(PACKAGE)-$(VERSION).tar.gz - $(PACKAGE)-$(VERSION).tar.gz : $(SRC) rm -f $(PACKAGE)-$(VERSION) ln -s . $(PACKAGE)-$(VERSION) diff --git a/lib/patchfns.in b/lib/patchfns.in index e5be4f5..463fb30 100644 --- a/lib/patchfns.in +++ b/lib/patchfns.in @@ -30,7 +30,7 @@ DIFFSTAT=/usr/bin/diffstat quote_re() { - echo "$1" | sed -e 's:\([^$/.+*\[\\]\):\\\1:g' + echo "$1" | sed -e 's:\([\^\$/.+*\[\\]\):\\\1:g' } #basename() |