diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-12 06:18:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-03-31 14:30:16 +0000 |
commit | d753cad06ca3aa6cd33a89a964802b35139ea70f (patch) | |
tree | c80a5743a7aeee1aac28fe2d0e1148fcd9c9527f /Makefile | |
parent | Adding blockio, cpu, memory and tasks limit config options. (diff) | |
download | compute-tools-d753cad06ca3aa6cd33a89a964802b35139ea70f.tar.xz compute-tools-d753cad06ca3aa6cd33a89a964802b35139ea70f.zip |
Adding debconf script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -54,6 +54,7 @@ build: share/man/*.txt install: build mkdir -p $(DESTDIR)/etc/container-tools/config + mkdir -p $(DESTDIR)/etc/container-tools/debconf mkdir -p $(DESTDIR)/usr/bin cp -r bin/* $(DESTDIR)/usr/bin @@ -64,6 +65,9 @@ install: build mkdir -p $(DESTDIR)/usr/share/$(SOFTWARE) cp -r VERSION.txt share/config share/scripts ${DESTDIR}/usr/share/$(SOFTWARE) + mkdir -p $(DESTDIR)/usr/share/doc/$(SOFTWARE) + cp -r share/doc $(DESTDIR)/usr/share/doc/$(SOFTWARE) + for SECTION in $$(seq 1 8); \ do \ if ls share/man/*.$${SECTION} > /dev/null 2>&1; \ @@ -103,6 +107,9 @@ uninstall: rm -f $(DESTDIR)/usr/share/man/man1/cnt.1 rm -f $(DESTDIR)/usr/share/man/man1/cntsh.1 + rm -rf $(DESTDIR)/usr/share/doc/$(SOFTWARE) + rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/doc || true + rm -rf $(DESTDIR)/usr/share/$(SOFTWARE) rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share || true @@ -116,6 +123,7 @@ uninstall: rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/bin || true rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/container-tools/config || true + rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/container-tools/debconf || true clean: $(MAKE) -C share/man clean |