summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3689ac3..76a9d34 100644
--- a/Makefile
+++ b/Makefile
@@ -79,12 +79,18 @@ install: $(BIN_FILES) $(SBIN_FILES) $(LIB_FILES) $(ETC_LBU_FILES)
install -m 644 $(ETC_LBU_FILES) $(DESTDIR)/$(sysconfdir)
uninstall:
+ for i in $(BIN_FILES); do \
+ rm -f "$(DESTDIR)/$(PREFIX)/bin/$$i";\
+ done
for i in $(SBIN_FILES); do \
rm -f "$(DESTDIR)/$(PREFIX)/sbin/$$i";\
done
for i in $(LIB_FILES); do \
rm -f "$(DESTDIR)/$(PREFIX)/lib/$$i";\
done
+ for i in $(ETC_LBU_FILES); do \
+ rm -f "$(DESTDIR)/$(sysconfdir)/$$i";\
+ done
clean:
rm -rf $(SCRIPTS) $(BIN_FILES)