summaryrefslogtreecommitdiff
blob: 84e306ca9d8a5305949a3abc6a53e972e875aac2 (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
--- Makefile.in.orig	2007-12-17 18:56:40.000000000 +0100
+++ Makefile.in	2007-12-17 18:58:25.000000000 +0100
@@ -102,36 +102,36 @@
 	${INSTALL} -d ${DESTDIR}${mandir}/man5
 	${INSTALL} -d ${DESTDIR}${sysconfdir}
 	${INSTALL} -d ${DESTDIR}${datadir}/detox
-	${INSTALL} detox ${DESTDIR}${bindir}
-	${INSTALL} detox.1 ${DESTDIR}${mandir}/man1
-	${INSTALL} detoxrc.5 detox.tbl.5 ${DESTDIR}${mandir}/man5
+	${INSTALL} -m 644 detox ${DESTDIR}${bindir}
+	${INSTALL} -m 644 detox.1 ${DESTDIR}${mandir}/man1
+	${INSTALL} -m 644 detoxrc.5 detox.tbl.5 ${DESTDIR}${mandir}/man5
 
 install-safe-config:
 	@if [ ! -f ${DESTDIR}${sysconfdir}/detoxrc ]; then \
-		${INSTALL} detoxrc ${DESTDIR}${sysconfdir}; \
+		${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}; \
 	else \
 		echo "${DESTDIR}${sysconfdir}/detoxrc exists, skipping"; \
 	fi
 	@if [ ! -f ${DESTDIR}${datadir}/detox/iso8859_1.tbl ]; then \
-		${INSTALL} iso8859_1.tbl ${DESTDIR}${datadir}/detox; \
+		${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox; \
 	else \
 		echo "${DESTDIR}${datadir}/detox/iso8859_1.tbl exists, skipping"; \
 	fi
 	@if [ ! -f ${DESTDIR}${datadir}/detox/unicode.tbl ]; then \
-		${INSTALL} unicode.tbl ${DESTDIR}${datadir}/detox; \
+		${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox; \
 	else \
 		echo "${DESTDIR}${datadir}/detox/unicode.tbl exists, skipping"; \
 	fi
 
 install-unsafe-config:
-	${INSTALL} detoxrc ${DESTDIR}${sysconfdir}
-	${INSTALL} iso8859_1.tbl ${DESTDIR}${datadir}/detox
-	${INSTALL} unicode.tbl ${DESTDIR}${datadir}/detox
+	${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}
+	${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox
+	${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox
 
 install-sample-config:
-	${INSTALL} detoxrc ${DESTDIR}${sysconfdir}/detoxrc.sample
-	${INSTALL} iso8859_1.tbl ${DESTDIR}${datadir}/detox/iso8859_1.tbl.sample
-	${INSTALL} unicode.tbl ${DESTDIR}${datadir}/detox/unicode.tbl.sample
+	${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}/detoxrc.sample
+	${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox/iso8859_1.tbl.sample
+	${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox/unicode.tbl.sample
 
 clean:
 	rm -f *.o core *~ a.out *.core