[hackers] [scc] Change cpp to scpp || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 23 Feb 2017 14:55:54 +0100 (CET)

commit 83fbb691a82eba4954e59e7044cb43f8e9a3a565
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Feb 23 14:50:48 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Feb 23 14:50:48 2017 +0100

    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.

diff --git a/Makefile b/Makefile
index 5c14e7c..7bfbffe 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -33,18 +33,18 @@ install: all
         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); \
Received on Thu Feb 23 2017 - 14:55:54 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 23 2017 - 15:00:19 CET