aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2026-03-22 15:42:58 +0100
committerTristan Riehs <tristan.riehs@inria.fr>2026-03-22 15:42:58 +0100
commit56652b7e253e70af37c18c8c50da896b0cfd77e3 (patch)
tree39bb9ce00f44f86f729cf944ad6bdd3bdeea6b0e
parent98ae2530168d6b7af1ae0fd2d57f7e1a7475d1cc (diff)
Add uninstall rule
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3d78e67..0233c47 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,10 @@ install: $(PROG)
mkdir -p $(PREFIX)/share/ftag/sql
install --mode=0644 sql/init.sql $(PREFIX)/share/ftag/sql/
+uninstall:
+ rm -f $(PREFIX)/bin/$(PROG)
+ rm -rf $(PREFIX)/share/ftag
+
clean:
make -C src clean
rm -rf $(PROG) ftag-$(FTAG_VERSION) ftag-$(FTAG_VERSION)
@@ -57,4 +61,4 @@ dist:
cp sql/init.sql $(FTAG_ARCHIVE_DIR)/sql/
tar -czf $(FTAG_ARCHIVE) $(FTAG_ARCHIVE_DIR)
-.PHONY: all clean install dist
+.PHONY: all clean dist install uninstall