DOCDIR = $(INSTALL)/share/doc/packages/doxygen #all: src/version.cpp configgen doxywizard # cd qtools ; $(MAKE) # cd src ; $(MAKE) clean: FORCE cd examples ; $(MAKE) clean cd doc ; $(MAKE) clean cd qtools ; $(MAKE) clean cd src ; $(MAKE) clean cd addon/configgen ; $(MAKE) clean cd addon/doxywizard ; $(MAKE) clean cd addon/xmlread ; $(MAKE) clean cd addon/xmlgen ; $(MAKE) clean -rm -f bin/doxy* -rm -f objects/*.o distclean: clean cd src ; $(MAKE) distclean cd addon/configgen ; $(MAKE) distclean cd addon/doxywizard ; $(MAKE) distclean cd addon/xmlread ; $(MAKE) distclean cd addon/xmlgen ; $(MAKE) distclean -rm -f lib/lib* -rm -f bin/doxy* -rm -f html -rm -f objects/*.o -rm -f src/Makefile.doxygen src/Makefile.libdoxygen src/Makefile.doxytag -rm -f src/Makefile.doxysearch qtools/Makefile.qtools -rm -f Makefile qtools/Makefile src/Makefile examples/Makefile doc/Makefile -rm -f .makeconfig .tmakeconfig -rm -f src/doxygen.pro src/libdoxygen.pro src/doxytag.pro src/doxysearch.pro qtools/qtools.pro -rm -f src/version.cpp -rm -r addon/configgen/Makefile addon/doxywizard/Makefile -rm -f addon/configgen/Makefile.configgen -rm -f addon/doxywizard/Makefile.doxywizard -rm -f addon/configgen/configgen.pro addon/doxywizard/doxywizard.pro -rm -f addon/configgen/obj/*.o -rm -f addon/doxywizard/obj/*.o -rm -f addon/doxywizard/moc/moc_* -rm -f addon/xmlread/xmlread.pro -rm -f addon/xmlread/Makefile addon/xmlread/Makefile.xmlread -rm -f addon/xmlread/*.o -rm -f addon/xmlgen/xmlgen.pro -rm -f addon/xmlgen/Makefile addon/xmlgen/Makefile.xmlgen -rm -f addon/xmlgen/*.o install: doxywizard_install $(INSTTOOL) -d $(INSTALL)/bin $(INSTTOOL) -d $(DOCDIR) $(INSTTOOL) -m 755 bin/doxygen $(INSTALL)/bin $(INSTTOOL) -m 755 bin/doxytag $(INSTALL)/bin $(INSTTOOL) -m 755 bin/doxysearch $(INSTALL)/bin cp -r doc $(DOCDIR) cp -r examples $(DOCDIR) echo "DOXYGEN = $(INSTALL)" > $(DOCDIR)/doc/Makefile echo "DOXYDOCS = .." >> $(DOCDIR)/doc/Makefile echo "VERSION = $(VERSION)" >> $(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 $(INSTALL)/doc/doxygen cp $(DOCDIR)/latex/doxygen_manual.ps $(INSTALL)/doc/doxygen rm -rf $(DOCDIR)/latex docs: FORCE cd examples ; $(MAKE) cd doc ; $(MAKE) ps: docs cd latex ; $(MAKE) pdf: docs cd latex ; $(MAKE) archive: clean tar zcvf dx`date +%y%m%d`.tgz Doxyfile addon tmake doc wintools examples bin lib objects \ qtools src configure configure.bin Makefile.in Makefile.win_nmake.in \ Makefile.win_make.in INSTALL make.bat LANGUAGE.HOWTO LICENSE PLATFORMS \ VERSION packages src/version.cpp: Makefile echo "char versionString[]=\"$(VERSION)\";" > src/version.cpp FORCE: