From 40930118e8885d88f83a3d0d18142cd6bb7f58a2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 Jun 2016 21:08:14 +0200 Subject: Making makefile more generic. Signed-off-by: Daniel Baumann --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3