summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 21afe27..4555685 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,3 +1,4 @@
+
all: src/version.cpp
cd src ; $(MAKE)
@@ -16,6 +17,20 @@ distclean: clean
-rm -f src/doxygen.pro src/doxytag.pro src/doxysearch.pro
-rm -f src/version.cpp
+install:
+ $(INSTTOOL) -d $(INSTALL)/bin
+ $(INSTTOOL) -d $(INSTALL)/share/doxygen/doc
+ $(INSTTOOL) -d $(INSTALL)/share/doxygen/examples
+ $(INSTTOOL) -m 755 bin/doxy* $(INSTALL)/bin
+ cp -r doc $(INSTALL)/share/doxygen
+ cp -r examples $(INSTALL)/share/doxygen
+ echo "DOXYGEN = $(INSTALL)" > $(INSTALL)/share/doxygen/doc/Makefile
+ echo "DOXYDOCS = $(INSTALL)/share/doxygen" >> $(INSTALL)/share/doxygen/doc/Makefile
+ echo "VERSION = $(VERSION)" >> $(INSTALL)/share/doxygen/doc/Makefile
+ cat doc/Makefile.in >> $(INSTALL)/share/doxygen/doc/Makefile
+ cd $(INSTALL)/share/doxygen/examples ; $(MAKE)
+ cd $(INSTALL)/share/doxygen/doc ; $(MAKE)
+
docs: FORCE
cd examples ; $(MAKE)
cd doc ; $(MAKE)