diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-06-04 15:29:43 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-06-04 15:29:43 +0200 |
commit | c3f16e68c8476357370131547c22f4dcc6b9e2ff (patch) | |
tree | 2bd108094253fcf07fe16b2e43434b612acb321f /Makefile | |
parent | 6e48f6b70d2c1921c9d71114bd28c390273e20e1 (diff) | |
download | netctl-c3f16e68c8476357370131547c22f4dcc6b9e2ff.tar.gz netctl-c3f16e68c8476357370131547c22f4dcc6b9e2ff.tar.xz |
Expose version information
Profiles now have access to it.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,12 +37,12 @@ install: tarball: netctl-$(VERSION).tar.xz netctl-$(VERSION).tar.xz: $(MAKE) -B -C docs - cp src/netctl.in{,.orig} - sed -i "s|NETCTL_VERSION=.*|NETCTL_VERSION=$(VERSION)|" src/netctl.in + cp src/lib/globals{,.orig} + sed -i "s|NETCTL_VERSION=.*|NETCTL_VERSION=$(VERSION)|" src/lib/globals git stash save -q git archive -o netctl-$(VERSION).tar --prefix=netctl-$(VERSION)/ stash git stash pop -q - mv src/netctl.in{.orig,} + mv src/lib/globals{.orig,} tar --exclude-vcs --transform "s|^|netctl-$(VERSION)/|" --owner=root --group=root --mtime=./netctl-$(VERSION).tar -rf netctl-$(VERSION).tar docs/*.[1-8] xz netctl-$(VERSION).tar gpg --detach-sign $@ |