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