summaryrefslogtreecommitdiff
path: root/editors/the/files/patch-aa
blob: c21d4a53192b646d7a58fc3e4d82ea12739cff84 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
--- Makefile.in.orig	Mon Jan 30 17:08:34 2006
+++ Makefile.in	Tue Jan 31 02:28:15 2006
@@ -29,7 +29,9 @@
 contribdir		= $(srcdir)/contrib
 thisdir		=@thisdir@
 
-INSTALL		= $(srcdir)/install-sh
+INSTALL		= @INSTALL@
+INSTALL_PROGRAM	= @INSTALL_PROGRAM@
+INSTALL_DATA	= @INSTALL_DATA@
 
 HTML_EXT		= @HTML_EXT@
 
@@ -276,32 +278,32 @@
 install: $(BASE_INSTALL)
 
 installbase: $(THEBIN) the.man THE_Help.txt
-	$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
-	$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
-	$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/THE
-	$(INSTALL) -m 755 -c ./$(THEBIN)            $(DESTDIR)$(bindir)/$(THEBIN)
-	$(INSTALL) -m 644 -c $(srcdir)/the.1        $(DESTDIR)$(mandir)/man1/the.1
-	$(INSTALL) -m 644 -c ./THE_Help.txt         $(DESTDIR)$(datadir)/THE/THE_Help.txt
-	$(INSTALL) -m 644 -c $(srcdir)/append.the   $(DESTDIR)$(datadir)/THE/append.the
-	$(INSTALL) -m 644 -c $(srcdir)/comm.the     $(DESTDIR)$(datadir)/THE/comm.the
-	$(INSTALL) -m 644 -c $(srcdir)/build.the    $(DESTDIR)$(datadir)/THE/build.the
-	$(INSTALL) -m 644 -c $(srcdir)/uncomm.the   $(DESTDIR)$(datadir)/THE/uncomm.the
-	$(INSTALL) -m 644 -c $(srcdir)/total.the    $(DESTDIR)$(datadir)/THE/total.the
-	$(INSTALL) -m 644 -c $(srcdir)/match.the    $(DESTDIR)$(datadir)/THE/match.the
-	$(INSTALL) -m 644 -c $(srcdir)/rm.the       $(DESTDIR)$(datadir)/THE/rm.the
-	$(INSTALL) -m 644 -c $(srcdir)/nl.the       $(DESTDIR)$(datadir)/THE/nl.the
-	$(INSTALL) -m 644 -c $(srcdir)/words.the    $(DESTDIR)$(datadir)/THE/words.the
-	$(INSTALL) -m 644 -c $(srcdir)/l.the        $(DESTDIR)$(datadir)/THE/l.the
-	$(INSTALL) -m 644 -c $(srcdir)/compile.the  $(DESTDIR)$(datadir)/THE/compile.the
-	$(INSTALL) -m 644 -c $(srcdir)/spell.the    $(DESTDIR)$(datadir)/THE/spell.the
-	$(INSTALL) -m 644 -c $(srcdir)/demo.the     $(DESTDIR)$(datadir)/THE/demo.the
-	$(INSTALL) -m 644 -c $(srcdir)/cua.the      $(DESTDIR)$(datadir)/THE/cua.the
-	$(INSTALL) -m 644 -c $(srcdir)/config.the   $(DESTDIR)$(datadir)/THE/config.the
-	$(INSTALL) -m 644 -c $(srcdir)/tags.the     $(DESTDIR)$(datadir)/THE/tags.the
-	$(INSTALL) -m 644 -c $(srcdir)/codecomp.the $(DESTDIR)$(datadir)/THE/codecomp.the
+	$(INSTALL) -d $(DESTDIR)$(bindir)
+	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
+	$(INSTALL) -d $(DESTDIR)$(datadir)/THE
+	$(INSTALL_PROGRAM) -c ./$(THEBIN)            $(DESTDIR)$(bindir)/$(THEBIN)
+	$(INSTALL_DATA) -c $(srcdir)/the.1        $(DESTDIR)$(mandir)/man1/the.1
+	$(INSTALL_DATA) -c ./THE_Help.txt         $(DESTDIR)$(datadir)/THE/THE_Help.txt
+	$(INSTALL_DATA) -c $(srcdir)/append.the   $(DESTDIR)$(datadir)/THE/append.the
+	$(INSTALL_DATA) -c $(srcdir)/comm.the     $(DESTDIR)$(datadir)/THE/comm.the
+	$(INSTALL_DATA) -c $(srcdir)/build.the    $(DESTDIR)$(datadir)/THE/build.the
+	$(INSTALL_DATA) -c $(srcdir)/uncomm.the   $(DESTDIR)$(datadir)/THE/uncomm.the
+	$(INSTALL_DATA) -c $(srcdir)/total.the    $(DESTDIR)$(datadir)/THE/total.the
+	$(INSTALL_DATA) -c $(srcdir)/match.the    $(DESTDIR)$(datadir)/THE/match.the
+	$(INSTALL_DATA) -c $(srcdir)/rm.the       $(DESTDIR)$(datadir)/THE/rm.the
+	$(INSTALL_DATA) -c $(srcdir)/nl.the       $(DESTDIR)$(datadir)/THE/nl.the
+	$(INSTALL_DATA) -c $(srcdir)/words.the    $(DESTDIR)$(datadir)/THE/words.the
+	$(INSTALL_DATA) -c $(srcdir)/l.the        $(DESTDIR)$(datadir)/THE/l.the
+	$(INSTALL_DATA) -c $(srcdir)/compile.the  $(DESTDIR)$(datadir)/THE/compile.the
+	$(INSTALL_DATA) -c $(srcdir)/spell.the    $(DESTDIR)$(datadir)/THE/spell.the
+	$(INSTALL_DATA) -c $(srcdir)/demo.the     $(DESTDIR)$(datadir)/THE/demo.the
+	$(INSTALL_DATA) -c $(srcdir)/cua.the      $(DESTDIR)$(datadir)/THE/cua.the
+	$(INSTALL_DATA) -c $(srcdir)/config.the   $(DESTDIR)$(datadir)/THE/config.the
+	$(INSTALL_DATA) -c $(srcdir)/tags.the     $(DESTDIR)$(datadir)/THE/tags.the
+	$(INSTALL_DATA) -c $(srcdir)/codecomp.the $(DESTDIR)$(datadir)/THE/codecomp.the
 	for a in $(srcdir)/*.tld; do \
 		bn=`basename $$a`; \
-		$(INSTALL) -m 644 -c $$a $(DESTDIR)$(datadir)/THE/$$bn; \
+		$(INSTALL_DATA) -c $$a $(DESTDIR)$(datadir)/THE/$$bn; \
 	done;
 
 binary: $(BASE_BINARY)