summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-05 23:58:12 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-05 23:58:12 -0500
commitad7202a18498d46420aefba9b0746ea187dd0472 (patch)
tree03c4a926be3170237973fd1bf21a68c4502f93e4 /Makefile
parent9b4d973cc3bb5ddee00b1c20ef5f1edec8f9ac3a (diff)
stop symlink farming
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 0f7007b..30a60b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,6 @@
install:
- mkdir -p $(PREFIX)/usr/lib/etckeeper/
- cp -a *.d $(PREFIX)/usr/lib/etckeeper/
-
+ mkdir -p $(PREFIX)/etc/etckeeper/
+ cp -a *.d $(PREFIX)/etc/etckeeper/
install -D etckeeper $(PREFIX)/usr/bin/etckeeper
install -m 0644 -D apt.conf $(PREFIX)/etc/apt/apt.conf.d/05etckeeper
install -m 0644 -D etckeeper.1 $(PREFIX)/usr/share/man/man1/etckeeper.1
-
- for dir in *.d; do \
- mkdir -p $(PREFIX)/etc/etckeeper/$$dir; \
- for file in $$dir/*; do \
- ln -sf /usr/lib/etckeeper/$$file $(PREFIX)/etc/etckeeper/$$file; \
- done; \
- done