[dev] [sbase][PATCH] Makefile: add sbase-box-uninstall rule

From: Mattias Andrée <maandree_AT_kth.se>
Date: Fri, 12 Feb 2016 14:25:56 +0100

Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1742992..807823f 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -243,9 +243,12 @@ sbase-box-install: sbase-box
 	for m in $(MAN); do sed "s/^\.Os sbase/.Os sbase $(VERSION)/g" < "$$m" > $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done
 	cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN)
 
+sbase-box-uninstall: uninstall
+	cd $(DESTDIR)$(PREFIX)/bin && rm -f sbase-box
+
 clean:
 	rm -f $(BIN) $(OBJ) $(LIB) sbase-box sbase-$(VERSION).tar.gz
 	rm -f confstr_l.h limits_l.h sysconf_l.h pathconf_l.h
 
 .PHONY:
-	all install uninstall dist sbase-box sbase-box-install clean
+	all install uninstall dist sbase-box sbase-box-install sbase-box-uninstall clean
-- 
2.7.1
Received on Fri Feb 12 2016 - 14:25:56 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 12 2016 - 14:36:11 CET