blob: 0f7007bec189c89cecf5bea4926eaff8551863a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
install:
mkdir -p $(PREFIX)/usr/lib/etckeeper/
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 \
mkdir -p $(PREFIX)/etc/etckeeper/$$dir; \
for file in $$dir/*; do \
ln -sf /usr/lib/etckeeper/$$file $(PREFIX)/etc/etckeeper/$$file; \
done; \
done
|