diff options
-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() |