[hackers] [scc] Makefile: uninstall include directory too || Quentin Rameau
commit 70500f1e134d44e3ca341a15f66447a8465346b0
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Tue Jan 24 14:39:04 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Tue Jan 24 14:39:04 2017 +0100
Makefile: uninstall include directory too
diff --git a/Makefile b/Makefile
index 7aaabaa..0d82783 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -34,7 +34,7 @@ tests: all
install: all
mkdir -p $(DESTDIR)/$(PREFIX)/libexec/scc/
mkdir -p $(DESTDIR)/$(PREFIX)/bin/
- mkdir -p $(DESTDIR)/$(PREFIX)/include/scc
+ mkdir -p $(DESTDIR)/$(PREFIX)/include/scc/
cp -f bin/cc?-* $(DESTDIR)/$(PREFIX)/libexec/scc/
cp -f bin/cc1-$(ARCH) $(DESTDIR)/$(PREFIX)/bin/cpp
cp -f bin/scc $(DESTDIR)/$(PREFIX)/bin/
_AT_@ -44,6 +44,7 @@ install: all
cd $(DESTDIR)/$(PREFIX)/bin && chmod 755 cpp scc && strip cpp scc
uninstall:
+ rm -rf $(DESTDIR)/$(PREFIX)/include/scc/
rm -rf $(DESTDIR)/$(PREFIX)/libexec/scc/
rm -f $(DESTDIR)/$(PREFIX)/bin/scc
rm -f $(DESTDIR)/$(PREFIX)/bin/cpp
Received on Tue Jan 24 2017 - 15:33:25 CET
This archive was generated by hypermail 2.3.0
: Tue Jan 24 2017 - 15:36:25 CET