1 #all: src/version.cpp doxywizard
8 cd examples ; $(MAKE) clean
10 cd qtools ; $(MAKE) clean
11 cd src ; $(MAKE) clean
12 cd libmd5 ; $(MAKE) clean
13 -cd addon/doxywizard ; $(MAKE) clean
14 cd addon/doxmlparser/src ; $(MAKE) clean
15 cd addon/doxmlparser/test ; $(MAKE) clean
16 cd addon/doxmlparser/examples/metrics ; $(MAKE) clean
21 cd src ; $(MAKE) distclean
22 cd libmd5 ; $(MAKE) distclean
23 -cd addon/doxywizard ; $(MAKE) distclean
24 cd addon/doxmlparser/src ; $(MAKE) distclean
25 cd addon/doxmlparser/test ; $(MAKE) distclean
26 cd addon/doxmlparser/examples/metrics ; $(MAKE) distclean
27 cd addon/doxyapp ; $(MAKE) distclean
33 -rm -f src/Makefile.doxygen src/Makefile.libdoxygen
34 -rm -f src/Makefile.libdoxycfg src/libdoxycfg.t src/libdoxygen.t
35 -rm -f libmd5/Makefile.libmd5
36 -rm -f Makefile qtools/Makefile src/Makefile examples/Makefile doc/Makefile
37 -rm -f .makeconfig .tmakeconfig
38 -rm -f src/doxygen.pro src/libdoxygen.pro qtools/qtools.pro src/libdoxycfg.pro libmd5/libmd5.pro
39 -rm -f src/version.cpp
40 -rm -r addon/doxywizard/Makefile
41 -rm -f addon/doxywizard/doxywizard.pro
43 -rm -f packages/rpm/doxygen.spec
45 DATE=$(shell date "+%B %Y")
47 install: doxywizard_install
48 $(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/bin
49 $(INSTTOOL) -m 755 bin/doxygen $(DESTDIR)/$(INSTALL)/bin
50 $(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/$(MAN1DIR)
51 cat doc/doxygen.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxygen.1
52 $(INSTTOOL) -m 644 doxygen.1 $(DESTDIR)/$(INSTALL)/$(MAN1DIR)/doxygen.1
56 $(INSTTOOL) -d $(DESTDIR)/$(DOCDIR)
60 $(INSTTOOL) -m 644 latex/doxygen_manual.pdf $(DESTDIR)/$(DOCDIR)
61 cp -r examples $(DESTDIR)/$(DOCDIR)
62 cp -r html $(DESTDIR)/$(DOCDIR)
71 DISTFILES = Doxyfile libmd5 addon tmake doc examples bin lib objects \
72 qtools src configure configure.bin Makefile.in Makefile.win_nmake.in \
73 Makefile.win_make.in INSTALL LANGUAGE.HOWTO LICENSE PLATFORMS \
74 VERSION packages winbuild
77 tar zcvf dx`date +%y%m%d`.tgz $(DISTFILES)
79 DISTDIR = doxygen-`echo $(VERSION) | tr - _`
84 cp -a $(DISTFILES) README $(DISTDIR)
85 find $(DISTDIR) \( -name ".svn" \) -print0 | xargs -0 rm -rf
86 tar zcvf $(DISTDIR).src.tar.gz $(DISTDIR)
89 src/version.cpp: Makefile
90 echo "char versionString[]=\"$(VERSION)\";" > src/version.cpp
92 addon/doxywizard/version.cpp: Makefile
93 echo "char versionString[]=\"$(VERSION)\";" > addon/doxywizard/version.cpp
95 DISTDIR = doxygen-`echo $(VERSION) | tr - _`
97 gzip -df $(DISTDIR).src.tar.gz
99 mkdir $(DISTDIR)/packages
100 mkdir $(DISTDIR)/packages/rpm
101 cp packages/rpm/doxygen.spec $(DISTDIR)/packages/rpm
103 gzip -9v $(DISTDIR).src.tar
104 rpmbuild -ta %%WITHDOXYWIZARD%% $(DISTDIR).src.tar.gz
107 gzip -df $(DISTDIR).src.tar.gz
109 mkdir $(DISTDIR)/packages
110 mkdir $(DISTDIR)/packages/rpm
111 cp packages/rpm/doxygen.spec $(DISTDIR)/packages/rpm
112 tar -rvf $(DISTDIR).src.tar $(DISTDIR)/packages/rpm/doxygen.spec
114 gzip -9v $(DISTDIR).src.tar
115 rpmbuild -ts %%WITHDOXYWIZARD%% $(DISTDIR).src.tar.gz
118 gzip -df $(DISTDIR).src.tar.gz
120 mkdir $(DISTDIR)/packages
121 mkdir $(DISTDIR)/packages/rpm
122 cp packages/rpm/doxygen.spec $(DISTDIR)/packages/rpm
123 tar -rvf $(DISTDIR).src.tar $(DISTDIR)/packages/rpm/doxygen.spec
125 gzip -9v $(DISTDIR).src.tar
126 rpmbuild -tb %%WITHDOXYWIZARD%% $(DISTDIR).src.tar.gz
130 ctags -R -f tags src addon/doxywizard qtools