From 099f87b7cb263b96db95098147c8b5d3ef614dc1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 25 Oct 2016 15:38:07 +0200 Subject: Adding upstream version 20161105. Signed-off-by: Daniel Baumann --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 94289f2..910e934 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,8 @@ test: build: share/man/*.txt $(MAKE) -C share/man + sed -n '/^NAME/,$$p' share/man/$(SOFTWARE).7.txt > README.txt + install: build mkdir -p $(DESTDIR)/etc/${SOFTWARE}/config mkdir -p $(DESTDIR)/etc/${SOFTWARE}/debconf @@ -73,8 +75,8 @@ install: build cp -r share/sudo/* $(DESTDIR)/etc/sudoers.d chmod 0440 $(DESTDIR)/etc/sudoers.d/* - mkdir -p $(DESTDIR)/usr/share/doc - cp -r share/doc $(DESTDIR)/usr/share/doc/$(SOFTWARE) + mkdir -p $(DESTDIR)/usr/share/doc/$(SOFTWARE) + cp -r CHANGELOG.txt LICENSE.txt README.txt share/doc/* $(DESTDIR)/usr/share/doc/$(SOFTWARE) for SECTION in $$(seq 1 8); \ do \ @@ -98,6 +100,9 @@ install: build ln -sf debconf.d ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/progress-linux.d ln -sf container-create-debconf.1 $(DESTDIR)/usr/share/man/man1/container-create-progress-linux.1 + ln -sf list $(DESTDIR)/usr/lib/$(SOFTWARE)/container/ls + ln -sf remove $(DESTDIR)/usr/lib/$(SOFTWARE)/container/rm + mkdir -p $(DESTDIR)/lib/systemd/system cp -r share/systemd/* $(DESTDIR)/lib/systemd/system @@ -164,6 +169,8 @@ uninstall: clean: $(MAKE) -C share/man clean + rm -f README.txt + distclean: reinstall: uninstall install -- cgit v1.2.3