################################################################################ # Makefile for Documentation # T.Barnaby, BEAM Ltd, 2007-02-01 ################################################################################ # TOP = ${shell pwd} include ${TOP}/Makefile.config FILES = *.html *.jpg *.gif *.pdf *.doc libTmsApi libBeamApi .PHONY: libTmsApi libBeamApi all: dox: libTmsApi libBeamApi clean: rm -fr libTmsApi/* install: all mkdir -p ${DOCDIR} cp -a * ${DOCDIR} includes: libTmsApi: doxygen libTmsApi.dox (cd libTmsApi/latex; make) > /dev/null 2>&1 cp libTmsApi/latex/refman.pdf libTmsApi.pdf rm -fr libTmsApi/latex libBeamApi: doxygen libBeamApi.dox (cd libBeamApi/latex; make) > /dev/null 2>&1 cp libBeamApi/latex/refman.pdf libBeamApi.pdf rm -fr libBeamApi/latex rpms: dox tms-doc.spec tar -czC .. -f ${RPM_DIR}/SOURCES/tms-doc.tar.gz tms-doc rpmbuild -bb tms-doc.spec rpmsInstall: cp ${RPM_DIR}/RPMS/noarch/tms-doc-$(VERSION)-$(RELEASE)*.rpm ${DIST_DIR}/packages createrepo ${DIST_DIR} packages: yum install texlive-latex-bin texlive-texconfig texinfo-tex texlive-pdftex-def texlive-xtab texlive-multirow texlive-collection-fontsrecommended texlive-collection-latexrecommended texlive-sectsty texlive-tocloft texlive-epstopdf-bin