ref: 820c609d293c7bdc66a72cd34db8fa1ea205d399
parent: b0f3613b586e0f7c00156401040189d91b5bdc0c
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Feb 23 09:50:48 EST 2017
Change cpp to scpp We are not in a state where we should use scc cpp instead of the system cpp, and having this name can create some problems if $HOME/bin is the first in the PATH.
--- a/Makefile
+++ b/Makefile
@@ -33,18 +33,18 @@
mkdir -p $(DESTDIR)/$(PREFIX)/bin/
mkdir -p $(DESTDIR)/$(PREFIX)/include/scc/
cp -f bin/cc?-* $(DESTDIR)/$(PREFIX)/libexec/scc/
- cp -f bin/cpp.sh $(DESTDIR)/$(PREFIX)/bin/cpp
+ cp -f bin/cpp.sh $(DESTDIR)/$(PREFIX)/bin/scpp
cp -f bin/scc $(DESTDIR)/$(PREFIX)/bin/
cp -fr libc/include/* $(DESTDIR)/$(PREFIX)/include/scc/
find $(DESTDIR)/$(PREFIX)/include/scc/ -type f | xargs chmod 644
cd $(DESTDIR)/$(PREFIX)/libexec/scc/ && chmod 755 cc* && strip cc*
- cd $(DESTDIR)/$(PREFIX)/bin && chmod 755 cpp scc && strip scc
+ cd $(DESTDIR)/$(PREFIX)/bin && chmod 755 scpp scc && strip 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
+ rm -f $(DESTDIR)/$(PREFIX)/bin/scpp
clean-helper:
for i in $(DIRS); \