summaryrefslogtreecommitdiff
blob: 4bb2db0f55b20510068c682429e8d2bc05776b1c (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
--- Makefile.in	2006-12-29 06:16:42.000000000 +0100
+++ ../asymptote-1.20_new/Makefile.in	2007-02-02 22:21:54.000000000 +0100
@@ -44,7 +44,7 @@
 datadir = $(DESTDIR)@datadir@
 asydir = $(datadir)/asymptote
 docdir = $(DESTDIR)@docdir@
-exampledir = $(docdir)/examples
+exampledir = $(asydir)/examples
 animationsdir = $(exampledir)/animations
 latexdir = $(DESTDIR)@latexdir@
 INSTALL = @INSTALL@
@@ -116,11 +116,8 @@
 		doc/*.asy doc/*.csv doc/*.dat doc/latexusage.tex $(exampledir)
 	${INSTALL} -p -m 644 examples/animations/*.asy $(animationsdir)
 	-${INSTALL} -p -m 644 $(addprefix doc/,$(LATEXFILES)) $(latexdir)
-	-if test -z "$(DESTDIR)"; then \
-	  texhash; \
-	fi
 
-install-doc: doc
+install-doc:
 	cd doc; $(MAKE) install-all
 
 install-man: man
--- doc/Makefile	2007-02-02 20:17:18.000000000 +0100
+++ ../asymptote-1.20_new/doc/Makefile	2007-02-02 21:26:45.000000000 +0100
@@ -4,9 +4,9 @@
 ASY = ../asy -dir ../base
 DOCFILES = asymptote.pdf CAD.pdf PDFAnim_temp_Guide.pdf
 
-doc:	asymptote.dvi asymptote.info html man
+doc:	$(DOCFILES) asymptote.info html man
 
-man:	asymptote.pdf CAD.pdf PDFAnim_temp_Guide.pdf asy.1
+man:	$(MANFILES)
 
 faq:	
 	cd FAQ; $(MAKE) faq
@@ -71,15 +71,15 @@
 	rm -f CAD.{aux,dvi,log,pdf,toc}
 	rm -rf asymptote
 
-install: man faq
-	cd FAQ; $(MAKE) install
-	${INSTALL} -d -m 755 $(docdir) $(mandir)/man1
-	${INSTALL} -p -m 644 $(DOCFILES) $(docdir)
+install: man
+	${INSTALL} -d -m 755 $(mandir)/man1
 	${INSTALL} -p -m 644 $(MANFILES) $(mandir)/man1
 
-install-all: doc install
-	cd FAQ; $(MAKE) install-info
-	${INSTALL} -d -m 755 $(infodir)
+install-all: doc faq install
+	cd FAQ; $(MAKE) install-all
+	${INSTALL} -d -m 755 $(infodir) $(docdir)/html/asymptote
+	${INSTALL} -p -m 644 $(DOCFILES) $(docdir)
+	${INSTALL} -p -m 644 asymptote/* $(docdir)/html/asymptote
 	${INSTALL} -p -m 644 asymptote.info $(infodir)
 	-if test -z "$(DESTDIR)"; then \
 		install-info --infodir=$(infodir) asymptote.info; \