~sircmpwn/himitsu-firefox

48131ce7ab5e970c3851f9eb8cb76e43ec8bcd95 — Alexey Yerin 3 months ago f9b4069
Makefile: add uninstall target
1 files changed, 10 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +10 -1
@@ 35,12 35,21 @@ install-xpi: himitsu@drewdevault.com.xpi
	mkdir -p $(DESTDIR)$(MOZADDONDIR)
	install -Dm644 himitsu@drewdevault.com.xpi $(DESTDIR)$(MOZADDONDIR)

uninstall-native:
	rm -f $(DESTDIR)$(LIBEXECDIR)/himitsu-firefox-native
	rm -f $(DESTDIR)$(MOZMSGHOSTDIR)/himitsu.json

uninstall-xpi:
	rm -f $(DESTDIR)$(MOZADDONDIR)/himitsu@drewdevault.com.xpi

install: install-native install-xpi
uninstall: uninstall-native uninstall-xpi

.PHONY: install-native install-xpi install
.PHONY: uninstall-native uninstall-xpi uninstall

clean:
	rm -f himitsu@drewdevault.com.xpi 
	rm -f himitsu@drewdevault.com.xpi
	rm -f native/himitsu-firefox-native native/manifest.json

.PHONY: all clean