Added uninstall
This commit is contained in:
parent
41d72a26f4
commit
147f3aa4c0
@ -47,6 +47,13 @@ install: $(LIB) $(HEADER_INST)
|
|||||||
install -D -m 755 $< $(DESTDIR)/usr/lib/$(subst ../,,$<)
|
install -D -m 755 $< $(DESTDIR)/usr/lib/$(subst ../,,$<)
|
||||||
install -D -m 755 ../gen_enum_str.py $(DESTDIR)/usr/bin/gz-enum-str
|
install -D -m 755 ../gen_enum_str.py $(DESTDIR)/usr/bin/gz-enum-str
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
-rm $(DESTDIR)/usr/lib/$(subst ../,,$(LIB))
|
||||||
|
-rm $(DESTDIR)/usr/bin/gz-enum-str
|
||||||
|
-rm -r $(DESTDIR)/usr/include/gz-util/
|
||||||
|
-rm $(OBJECT_DIR)/*.stamp
|
||||||
|
|
||||||
|
|
||||||
$(OBJECT_DIR)/%.stamp: %.hpp $(OBJECT_DIR)
|
$(OBJECT_DIR)/%.stamp: %.hpp $(OBJECT_DIR)
|
||||||
install -D -m 644 $< $(DESTDIR)/usr/include/gz-util/$<
|
install -D -m 644 $< $(DESTDIR)/usr/include/gz-util/$<
|
||||||
touch $@
|
touch $@
|
||||||
|
Loading…
Reference in New Issue
Block a user