summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-03 15:19:18 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-03 15:19:18 -0400
commit7ec9cb9061e580733a6f4b45bbde5f6db670c5c9 (patch)
treefb8827cba3b16cc61be29bd2d8c017c697da13e9 /Makefile
parentdf3114cdc6b5966a21f5cf6bc911dce5bcb4fcab (diff)
delete build directory on clean
also, a non-phony build target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1671d85..37d7178 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ INSTALL_EXE=${INSTALL} -D
INSTALL_DATA=${INSTALL} -m 0644 -D
build:
-# Nothing need be done to build the package.
+ -./etckeeper-bzr/__init__.py build
install:
mkdir -p $(DESTDIR)$(etcdir)/etckeeper/ $(DESTDIR)$(vardir)/cache/etckeeper/
@@ -31,3 +31,6 @@ ifeq ($(LOWLEVEL_PACKAGE_MANAGER),pacman-g2)
$(INSTALL_DATA) pacman-g2.hook $(DESTDIR)$(etcdir)/pacman-g2/hooks/etckeeper
endif
-./etckeeper-bzr/__init__.py install --root=$(DESTDIR)
+
+clean:
+ rm -rf build