kcc (2.3-12) Makefile

Summary

 Makefile |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

--- kcc-2.3.orig/Makefile
+++ kcc-2.3/Makefile
@@ -16,6 +16,8 @@
                CP = cp
              MAKE = make
           INSTALL = install
+  INSTALL_PROGRAM = $(INSTALL) -s
+     INSTALL_FILE = $(INSTALL) -m 644
 
              CMDS = kcc
              SRCS = kcc.c
@@ -34,10 +36,10 @@
 
 $(BINPATH)/kcc: kcc.c
 	$(MAKE) kcc
-	$(INSTALL) -s kcc $(BINPATH)
+	$(INSTALL_PROGRAM) kcc $(BINPATH)
 
 $(MANPATH)/$(JMANDIR)/man1/kcc.1: kcc.jman
-	$(INSTALL) -m 644 kcc.jman $@
+	$(INSTALL_FILE) kcc.jman $@
 
 clean:
 	rm -f $(CMDS) $(OBJS) mon.out gmon.out make.log