aboutsummaryrefslogtreecommitdiff
path: root/graphics/netpbm/files/patch-ba
blob: ef2f9c1fa8bc6cad7a8003fce4600b3b3f0bb4b5 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- GNUmakefile.orig	Thu May 25 02:00:10 2000
+++ GNUmakefile	Sat Jun  3 00:00:00 2000
@@ -79,21 +79,21 @@
 
 .PHONY: install.bin
 install.bin:
-	mkinstalldirs $(INSTALLBINARIES)
+	-mkdir -p $(INSTALLBINARIES)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.bin.$$i ; cd $$i ; $(MAKE) install.bin ); \
 	done
 
 .PHONY: install-merge
 install.merge:
-	mkinstalldirs $(INSTALLBINARIES)
+	-mkdir -p $(INSTALLBINARIES)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.merge.$$i ; cd $$i ; $(MAKE) install.merge ); \
 	done
 
 .PHONY: install.lib
 install.lib:
-	mkinstalldirs $(INSTALLLIBS)
+	-mkdir -p $(INSTALLLIBS)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.lib.$$i ; cd $$i ; $(MAKE) install.lib ); \
 	done
@@ -104,7 +104,7 @@
 
 .PHONY: install.man
 install.man:
-	mkinstalldirs \
+	-mkdir -p \
 	    $(INSTALLMANUALS1) $(INSTALLMANUALS3) $(INSTALLMANUALS5)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.man.$$i ; cd $$i ; $(MAKE) install.man ); \
@@ -115,9 +115,8 @@
 
 .PHONY: install.hdr
 install.hdr:
-	mkinstalldirs $(INSTALLHDRS)
-	$(INSTALL) -c -m$(INSTALL_PERM_HDR) pbmplus.h $(INSTALLHDRS)
-	$(INSTALL) -c -m$(INSTALL_PERM_HDR) shhopt/shhopt.h $(INSTALLHDRS)
+	-mkdir -p $(INSTALLHDRS)
+	${BSD_INSTALL_DATA} pbmplus.h $(INSTALLHDRS)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.hdr.$$i ; cd $$i ; $(MAKE) install.hdr ); \
 	done
@@ -128,7 +127,7 @@
 
 .PHONY: install.staticlib
 install.staticlib:
-	mkinstalldirs $(INSTALLLIBS)
+	-mkdir -p $(INSTALLLIBS)
 	for i in $(SUBDIRS) ; do \
 	    (echo install.staticlib.$$i; cd $$i; $(MAKE) install.staticlib ); \
 	done