ref: bd79071a6f1ead71c9eb689e2ae97dcb9241657c
parent: b9e14e53a090337d08dea3d536325aa3daff1b38
author: Tor Andersson <tor.andersson@artifex.com>
date: Mon May 27 07:17:05 EDT 2019
Add make uninstall target.
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,13 @@
install: install-static
+uninstall:
+ rm -f $(DESTDIR)$(bindir)/mujs
+ rm -f $(DESTDIR)$(incdir)/mujs.h
+ rm -f $(DESTDIR)$(libdir)/pkgconfig/mujs.pc
+ rm -f $(DESTDIR)$(libdir)/libmujs.a
+ rm -f $(DESTDIR)$(libdir)/libmujs.so
+
tarball:
git archive --format=zip --prefix=mujs-$(VERSION)/ HEAD > mujs-$(VERSION).zip
git archive --format=tar --prefix=mujs-$(VERSION)/ HEAD | gzip > mujs-$(VERSION).tar.gz