summaryrefslogtreecommitdiff
path: root/graphics/netpbm/files/patch-ba
blob: 2494b2a60fd6ed0525c0581cf75ff5e81062c093 (plain)
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
58
59
60
61
62
63
64
65
66
67
--- GNUmakefile.orig	Tue May 16 10:15:34 2000
+++ GNUmakefile	Sat May 20 00:00:00 2000
@@ -68,8 +68,8 @@
 
 
 .PHONY: install
-install: install.bin install.lib install.man 
-install-merge: install.merge install.lib install.man
+install: install.bin install.lib install.man install.dev
+install-merge: install.merge install.lib install.man install.dev
 
 .PHONY: merge
 merge:  compile.h
@@ -79,21 +79,21 @@
 
 .PHONY: install.bin
 install.bin:
-	$(INSTALL) -d -mu=rwx,go=rx $(INSTALLBINARIES)
+	-mkdir -p $(INSTALLBINARIES)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.bin.$$i ; cd $$i ; $(MAKE) install.bin ); \
 	done
 
 .PHONY: install-merge
 install.merge:
-	$(INSTALL) -d -mu=rwx,go=rx $(INSTALLBINARIES)
+	-mkdir -p $(INSTALLBINARIES)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.merge.$$i ; cd $$i ; $(MAKE) install.merge ); \
 	done
 
 .PHONY: install.lib
 install.lib:
-	$(INSTALL) -d -mu=rwx,go=rx $(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:
-	$(INSTALL) -d -mu=rwx,go=rx \
+	-mkdir -p \
 	    $(INSTALLMANUALS1) $(INSTALLMANUALS3) $(INSTALLMANUALS5)
 	for i in $(SUBDIRS) ; do \
 	    ( echo install.man.$$i ; cd $$i ; $(MAKE) install.man ); \
@@ -115,8 +115,8 @@
 
 .PHONY: install.hdr
 install.hdr:
-	$(INSTALL) -d -mu=rwx,go=rx $(INSTALLHDRS)
-	$(INSTALL) -m$(INSTALL_PERM_HDR) pbmplus.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
@@ -127,7 +127,7 @@
 
 .PHONY: install.staticlib
 install.staticlib:
-	$(INSTALL) -d -mu=rwx,go=rx $(INSTALLLIBS)
+	-mkdir -p $(INSTALLLIBS)
 	for i in $(SUBDIRS) ; do \
 	    (echo install.staticlib.$$i; cd $$i; $(MAKE) install.staticlib ); \
 	done