summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-14 19:08:14 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-14 19:08:14 +0000
commit40930118e8885d88f83a3d0d18142cd6bb7f58a2 (patch)
treea9aff9199fe590a3b12c513c7f6cddddaaf1ffe6 /Makefile
parentUpdating vcs links in container-tools manpage. (diff)
downloadcompute-tools-40930118e8885d88f83a3d0d18142cd6bb7f58a2.tar.xz
compute-tools-40930118e8885d88f83a3d0d18142cd6bb7f58a2.zip
Making makefile more generic.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0deb81e..de6c15a 100644
--- a/Makefile
+++ b/Makefile
@@ -53,8 +53,8 @@ build: share/man/*.txt
$(MAKE) -C share/man
install: build
- mkdir -p $(DESTDIR)/etc/container-tools/config
- mkdir -p $(DESTDIR)/etc/container-tools/debconf
+ mkdir -p $(DESTDIR)/etc/${SOFTWARE}/config
+ mkdir -p $(DESTDIR)/etc/${SOFTWARE}/debconf
mkdir -p $(DESTDIR)/usr/bin
cp -r bin/* $(DESTDIR)/usr/bin
@@ -133,8 +133,8 @@ uninstall:
done
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
+ rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/${SOFTWARE}/config || true
+ rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/${SOFTWARE}/debconf || true
clean:
$(MAKE) -C share/man clean