diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-10-25 13:38:07 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-12-11 12:27:06 +0000 |
commit | 099f87b7cb263b96db95098147c8b5d3ef614dc1 (patch) | |
tree | 9855059bd1b19002abe2fa98669cc878a6aa1901 /Makefile | |
parent | Adding upstream version 20161101. (diff) | |
download | open-infrastructure-compute-tools-099f87b7cb263b96db95098147c8b5d3ef614dc1.tar.xz open-infrastructure-compute-tools-099f87b7cb263b96db95098147c8b5d3ef614dc1.zip |
Adding upstream version 20161105.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-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 |