blob: 1c21d69d1fef741437df962f22d286d2af9cb0aa (
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
|
$NetBSD: patch-ab,v 1.8 2006/10/31 20:06:57 dsainty Exp $
install_docs:
The "cp -r doc" may by chance copy language.doc with an older modification
timestamp than some of its dependencies. The replacement rule is the
intended solution presented on:
http://bugzilla.gnome.org/show_bug.cgi?id=366119
--- Makefile.in.orig 2005-11-21 07:05:07.000000000 +1300
+++ Makefile.in 2006-10-27 12:35:47.484445000 +1300
@@ -50,8 +50,8 @@
install: doxywizard_install
$(INSTTOOL) -d $(INSTALL)/bin
- $(INSTTOOL) -m 755 bin/doxygen $(INSTALL)/bin
- $(INSTTOOL) -m 755 bin/doxytag $(INSTALL)/bin
+ $(INSTTOOL) -c -m 755 bin/doxygen $(INSTALL)/bin
+ $(INSTTOOL) -c -m 755 bin/doxytag $(INSTALL)/bin
$(INSTTOOL) -d $(INSTALL)/$(MAN1DIR)
cat doc/doxygen.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > $(INSTALL)/$(MAN1DIR)/doxygen.1 ; \
cat doc/doxytag.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > $(INSTALL)/$(MAN1DIR)/doxytag.1 ; \
@@ -59,19 +59,12 @@
install_docs:
$(INSTTOOL) -d $(DOCDIR)
- cp -r doc $(DOCDIR)
+ $(MAKE) -C examples
+ $(MAKE) -C doc
+ $(MAKE) -C latex
+ cp latex/doxygen_manual.pdf $(DOCDIR)
cp -r examples $(DOCDIR)
- echo "DOXYGEN = $(INSTALL)" > $(DOCDIR)/doc/Makefile
- echo "DOXYDOCS = .." >> $(DOCDIR)/doc/Makefile
- echo "VERSION = $(VERSION)" >> $(DOCDIR)/doc/Makefile
- echo "PERL = $(PERL)" >> $(DOCDIR)/doc/Makefile
- cat doc/Makefile.in >> $(DOCDIR)/doc/Makefile
- cd $(DOCDIR)/examples ; $(MAKE)
- cd $(DOCDIR)/doc ; $(MAKE)
- rm -rf $(DOCDIR)/doc
- cd $(DOCDIR)/latex ; $(MAKE)
- cp $(DOCDIR)/latex/doxygen_manual.pdf $(DOCDIR)
- rm -rf $(DOCDIR)/latex
+ cp -r html $(DOCDIR)
docs: FORCE
cd examples ; $(MAKE)
|