From 6300374281888b2f738f719e057b5e74db9706f5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Nov 2007 18:43:39 -0500 Subject: polish --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 96f7fb8..4497b0d 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,13 @@ install: cp -a *.d $(PREFIX)/usr/lib/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 \ command=$$(echo "$$dir" | sed -e 's/\.d$$//'); \ - ln -s etckeeper $(PREFIX)/usr/bin/etckeeper-$$command; \ + ln -sf etckeeper $(PREFIX)/usr/bin/etckeeper-$$command; \ + ln -sf etckeeper.1 $(PREFIX)/usr/share/man/man1/etckeeper-$$command.1; \ done for dir in *.d; do \ @@ -14,5 +18,3 @@ install: ln -sf /usr/lib/etckeeper/$$file $(PREFIX)/etc/etckeeper/$$file; \ done; \ done - - install -m 0644 -D apt.conf $(PREFIX)/etc/apt/apt.conf.d/05etckeeper -- cgit v1.2.3