mirror of
https://github.com/ccxvii/mujs.git
synced 2026-02-05 17:29:43 +08:00
Add make uninstall target.
This commit is contained in:
7
Makefile
7
Makefile
@@ -119,6 +119,13 @@ install-shared: install-common shared
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user