diff options
author | Spenser Truex <truex@equwal.com> | 2021-01-21 11:50:09 -0800 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2021-01-21 16:12:44 -0400 |
commit | 54cb31ec6086f9db1c5f76ff2a1017cf272b320a (patch) | |
tree | f3574696774d4741b411044e3af677f626cbc0c1 | |
parent | c3261f4190c3803177b6c50ec43fd302171dd48e (diff) | |
download | moreutils-54cb31ec6086f9db1c5f76ff2a1017cf272b320a.tar.gz |
Add uninstall make recipe
I was thinking about using my package manager instead of managing the
source myself, but that would have meant manually unlinking all the
files!
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,10 @@ install: mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 install $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1 +uninstall: + for i in $(BINS) $(PERLSCRIPTS); do rm -f $(DESTDIR)$(PREFIX)/bin/$$i; done + for i in $(MANS); do rm -f $(DESTDIR)$(PREFIX)/share/man/man1/$$i; done + check: isutf8 ./is_utf8/test.sh |