summaryrefslogtreecommitdiff
blob: d32e24b4e4b081c934499b9c93f67512f0becdc6 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
--- a/Makefile.in.orig	2004-09-24 01:43:55.743685848 +0200
+++ b/Makefile.in	2004-09-24 01:43:55.745685544 +0200
@@ -33,7 +33,7 @@
 host = @host@
 ### End of `configure' section###
 
-htmldir = $(libdir)/scsh/doc/scsh-manual/html
+htmldir = /usr/share/doc/scsh-0.6.7/scsh-manual/html
 
 # HP 9000 series, if you don't have gcc
 #   CC = cc
@@ -358,38 +358,38 @@
 	done 
 
 inst-doc:
-	for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \
-		$(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; 			\
+	for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do 			\
+	$(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/; 		\
 	done &&									\
 	for f in $(srcdir)/doc/src/*.tex 					\
 		$(srcdir)/doc/src/*.dvi						\
 		$(srcdir)/doc/src/*.ps;						\
-		do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/;	\
+         do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/;\
 	done &&									\
 	for f in $(srcdir)/doc/src/manual/*.html;				\
-		do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/;	\
+    do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/html/;\
 	done &&									\
 	for f in $(srcdir)/doc/scsh-manual/*.tex 				\
 		$(srcdir)/doc/scsh-manual/*.sty 				\
 		$(srcdir)/doc/scsh-manual/*.dvi					\
 		$(srcdir)/doc/scsh-manual/*.ps					\
 		$(srcdir)/doc/scsh-manual/*.pdf;				\
-		do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/;	\
+	do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-manual/;\
 	done &&									\
 	for f in $(srcdir)/doc/scsh-manual/html/*.html 				\
 		$(srcdir)/doc/scsh-manual/html/*.gif 				\
 		$(srcdir)/doc/scsh-manual/html/*.css;				\
-		do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/;			\
+		do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/;        		\
 	done &&									\
 	for f in $(srcdir)/doc/scsh-paper/*.tex 				\
 		$(srcdir)/doc/scsh-paper/*.sty 					\
 		$(srcdir)/doc/scsh-paper/*.dvi					\
 		$(srcdir)/doc/scsh-paper/*.ps;					\
-		do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/;	\
+	do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/;	\
 	done &&									\
 	for f in $(srcdir)/doc/scsh-paper/html/*.html 				\
 		$(srcdir)/doc/scsh-paper/html/*.css;				\
-		do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html;	\
+    do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/html/;\
 	done
 
 
@@ -412,19 +412,21 @@
 	chmod +x $@
 
 dirs:
-	for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\
-		{ mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || {	\
-			echo "$(DESTDIR)$$dir not a writable directory" >&2;	\
-			exit 1;						\
-	}								\
-	done &&								\
-	for dir in								\
-		rts env big opt misc link srfi scsh doc/scsh-manual			\
-		doc/s48-manual/html doc/scsh-paper/html cig; do			\
-		{ mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || {	\
-			echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; 	\
-		exit 1;						  		\
-		};							  	\
+	for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir);  \
+		do                                                             \
+	   { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; }             \
+	|| { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; };   \
+	done &&								       \
+	for dir in rts env big opt misc link srfi scsh;                        \
+	        do                                                             \
+        { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];}   \
+     || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\
+	done &&                                                                \
+	for dir in                                                             \
+	  scsh-manual/html s48-manual/html scsh-paper/html cig; do      \
+	{ mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir; }                \
+     || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir failed" >&2;\
+	  exit 1;};                                                            \
 	done
 
 configure: configure.in