diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-02-26 14:00:23 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-02-26 14:00:23 -0500 |
commit | 7d58bfad3bc285261ef457473da3682232b07fa0 (patch) | |
tree | b20f13db5d57f98aa4dcd700058ca52704f4b0b7 /Makefile | |
parent | 187b358c61dc1d177716e484df2ffde421489992 (diff) |
make clean also depend on spec
so that the spec file is updated before building tarballs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -17,9 +17,6 @@ INSTALL_DATA=${INSTALL} -m 0644 -D build: etckeeper.spec -./etckeeper-bzr/__init__.py build || echo "** bzr support not built" -etckeeper.spec: - sed -i "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" etckeeper.spec - install: mkdir -p $(DESTDIR)$(etcdir)/etckeeper/ $(DESTDIR)$(vardir)/cache/etckeeper/ cp -a *.d $(DESTDIR)$(etcdir)/etckeeper/ @@ -40,7 +37,10 @@ endif -./etckeeper-bzr/__init__.py install --root=$(DESTDIR) || echo "** bzr support not installed" echo "** installation successful" -clean: +clean: etckeeper.spec rm -rf build +etckeeper.spec: + sed -i "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" etckeeper.spec + .PHONY: etckeeper.spec |