aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-28 14:23:32 -0300
committerEuAndreh <eu@euandre.org>2021-08-28 14:23:32 -0300
commit0f117361f69cf7e8cbcf1f5e0d63759ec29e6614 (patch)
tree4594c7c69c8cd56ceb48e79c748b5c48b54542e8
parentMakefile: Be more explicit about empty lines on the generated src/config.h (diff)
downloadgistatic-0f117361f69cf7e8cbcf1f5e0d63759ec29e6614.tar.gz
gistatic-0f117361f69cf7e8cbcf1f5e0d63759ec29e6614.tar.xz
Makefile: Remove bin, lib and include artifacts in "uninstall" target
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9f8d87f..3831c71 100644
--- a/Makefile
+++ b/Makefile
@@ -102,6 +102,10 @@ install: all
sh doc/manpages.sh -ip '$(DESTDIR)$(MANPREFIX)' $(manpages)
uninstall:
+ rm -f \
+ '$(DESTDIR)$(PREFIX)/bin/gistatic' \
+ '$(DESTDIR)$(PREFIX)/lib/libgistatic.a' \
+ '$(DESTDIR)$(PREFIX)/include/gistatic.h'
sh doc/manpages.sh -up '$(DESTDIR)$(MANPREFIX)' $(manpages)