commit d9c85a2d79cd0cc9e1c338a28bedbcfa39182ac6
parent 6ca2a046f8f680131046fc152031a899db4182d2
Author: Mattias Andrée <maandree@kth.se>
Date: Mon, 15 Feb 2016 09:47:16 +0000
Makefile: add sbase-box-uninstall rule
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -250,9 +250,12 @@ sbase-box-install: sbase-box
cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN)
mv -f $(DESTDIR)$(MANPREFIX)/man1/xinstall.1 $(DESTDIR)$(MANPREFIX)/man1/install.1
+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