Makefile: add sbase-box-uninstall rule

Signed-off-by: Mattias Andrée <maandree@kth.se>
This commit is contained in:
Mattias Andrée 2016-02-15 09:47:16 +00:00 committed by sin
parent 6ca2a046f8
commit d9c85a2d79

View File

@ -250,9 +250,12 @@ sbase-box-install: sbase-box
cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN) cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN)
mv -f $(DESTDIR)$(MANPREFIX)/man1/xinstall.1 $(DESTDIR)$(MANPREFIX)/man1/install.1 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: clean:
rm -f $(BIN) $(OBJ) $(LIB) sbase-box sbase-$(VERSION).tar.gz 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 rm -f confstr_l.h limits_l.h sysconf_l.h pathconf_l.h
.PHONY: .PHONY:
all install uninstall dist sbase-box sbase-box-install clean all install uninstall dist sbase-box sbase-box-install sbase-box-uninstall clean