summaryrefslogtreecommitdiff
path: root/devel/cxref/files/patch-ad
blob: ba2243e0f9a1bdba05e9bcf8b71ffe483ca334ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile.in.orig	Sun Mar 18 19:29:25 2001
+++ Makefile.in	Fri May 18 05:53:30 2001
@@ -28,6 +28,9 @@
 # The installation program.
 
 INSTALL=@INSTALL@
+INSTALL_PROGRAM=@INSTALL_PROGRAM@
+INSTALL_SCRIPT=@INSTALL_SCRIPT@
+INSTALL_DATA=@INSTALL_DATA@
 
 # The C compiler and linker
 
@@ -121,10 +124,10 @@
 
 install : programs
 	[ -d $(bindir) ] || $(INSTALL) -d $(bindir)
-	$(INSTALL) -m 755 cxref-inst $(bindir)/cxref
-	$(INSTALL) -m 755 $(srcdir)/cxref-cc $(bindir)
+	$(INSTALL_PROGRAM) cxref-inst $(bindir)/cxref
+	$(INSTALL_SCRIPT) $(srcdir)/cxref-cc $(bindir)
 	[ -d $(mandir)/man1 ] || $(INSTALL) -d $(mandir)/man1
-	$(INSTALL) -m 644 $(srcdir)/README.man $(mandir)/man1/cxref.1
+	$(INSTALL_DATA) $(srcdir)/README.man $(mandir)/man1/cxref.1
 	cd cpp && $(MAKE) install
 	cd query && $(MAKE) install