diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |