diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-08 21:34:13 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-08 21:34:13 +0200 |
| commit | e5bbcf7dad06012c121327680bab99a00f1071d5 (patch) | |
| tree | 4ba8245a692401ab01e3bccb20531e99d60b1e41 /Makefile | |
| parent | ab4d6eaab161adc57286f67d905dea5009784b51 (diff) | |
add auto versioning0.8.6
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,7 @@ build: # 'install' installes a fake-root, which will be used to build the Debian package # $DESTDIR is actually set by the Debian tools. -install: +install: version test ! -d $(DESTDIR)/usr/bin && mkdir -p $(DESTDIR)/usr/bin || exit 0 test ! -d $(DESTDIR)/usr/share/$(NAME) && mkdir -p $(DESTDIR)/usr/share/$(NAME) || exit 0 test ! -d $(DESTDIR)/usr/share/man/man1 && mkdir -p $(DESTDIR)/usr/share/man/man1 || exit 0 @@ -38,6 +38,7 @@ clean: # Parses the version out of the Debian changelog version: cut -d' ' -f2 debian/changelog | head -n 1 | sed 's/(//;s/)//' > .version + sed -i "s/.*PWGREP_VERSION=.*/declare -r PWGREP_VERSION=$$(cat .version)/" ./bin/$(NAME).sh # Builds the documentation into a manpage documentation: |
