MANDIR = /usr/local/man DBFLAGS = -d /usr/lib/sgml/stylesheets/gdp-both.dsl html: gdp-handbook.sgml cdata db2html $(DBFLAGS) gdp-handbook.sgml cp -r figures gdp-handbook gnome-applet-template-html: templates/gnome-applet-template.sgml cd templates && db2html $(DBFLAGS) gnome-applet-template.sgml gnome-app-template-html: templates/gnome-app-template.sgml cd templates && db2html $(DBFLAGS) gnome-app-template.sgml templates-html: gnome-applet-template-html gnome-app-template-html ps: gdp-handbook.sgml cdata db2ps gdp-handbook.sgml rm gdp-handbook.tex gdp-handbook.aux gdp-handbook.dvi gdp-handbook.log pdf: gdp-handbook.sgml cdata db2pdf $(DBFLAGS) gdp-handbook.sgml htmltarball: gdp-handbook.sgml html tar czvf gdp-handbook-html.tgz gdp-handbook cdata: gnome-app-template.sgml.cdata gnome-applet-template.sgml.cdata gnome-app-template.sgml.cdata: templates/gnome-app-template.sgml cd templates && echo " gnome-app-template.sgml.cdata && cat gnome-app-template.sgml >> gnome-app-template.sgml.cdata && echo "]]>" >> gnome-app-template.sgml.cdata gnome-applet-template.sgml.cdata: templates/gnome-applet-template.sgml cd templates && echo " gnome-applet-template.sgml.cdata && cat gnome-applet-template.sgml >> gnome-applet-template.sgml.cdata && echo "]]>" >> gnome-applet-template.sgml.cdata dist: gdp-handbook.sgml html ps htmltarball templates-html rm -rf handbook-various-formats mkdir handbook-various-formats cp gdp-handbook.sgml handbook-various-formats cp gdp-handbook.ps handbook-various-formats cp gdp-handbook-html.tgz handbook-various-formats cp -r gdp-handbook handbook-various-formats cp -r templates/gnome-applet-template handbook-various-formats cp -r templates/gnome-app-template handbook-various-formats mkdir handbook-various-formats/templates cp templates/*sgml handbook-various-formats/templates tar czvf gdp-handbook-various_formats.tgz handbook-various-formats