diff options
author | Nick Hanley <nicholasjhanley@gmail.com> | 2022-02-24 00:09:38 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-03-16 09:16:46 +0000 |
commit | 7939f5a046fdc999cd9d487bb65dddd7cc6712ad (patch) | |
tree | e7d192dcc80fbce157074eeaec6f9de12556a2d2 /Makefile | |
parent | 3e33c9fc71083e65ebfec415efdba01c62651a20 (diff) | |
download | alpine-conf-7939f5a046fdc999cd9d487bb65dddd7cc6712ad.zip |
Makefile: uninstall bin/ and etc/lbu/ files too
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |