scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 70500f1e134d44e3ca341a15f66447a8465346b0
parent cd5cd2e925f70f972480a80b5a208056ef19cad4
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 24 Jan 2017 14:39:04 +0100

Makefile: uninstall include directory too

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -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/ @@ -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