X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;fp=doc%2FMakefile;h=0000000000000000000000000000000000000000;hb=de01e0dd832dc5eeac12f504d02b362c52bb4557;hp=ca100586f9cff55fbd295a1f8d69729f3286297a;hpb=24c77c99349b1ebb879c674e3c33a90c125983a5;p=ion3.git diff --git a/doc/Makefile b/doc/Makefile deleted file mode 100644 index ca10058..0000000 --- a/doc/Makefile +++ /dev/null @@ -1,123 +0,0 @@ -# Settings -###################################### - -TOPDIR=../ion-3 - -include $(TOPDIR)/build/system-inc.mk - -L2H=latex2html -show_section_numbers -short_index -local_icons -noaddress \ - -up_url http://iki.fi/tuomov/ion/ -up_title "Ion homepage" -nofootnode\ -## -style greyviolet.css - - -# Function documentation to build -###################################### - -DOCS=ionconf ionnotes - -FNTEXES=ioncore.exports mod_tiling.exports \ - mod_query.exports de.exports mod_menu.exports \ - mod_dock.exports mod_sp.exports mod_statusbar.exports - -# Generic rules -###################################### - -nothing: - @ echo "Please read the README first." - -%.ps: %.dvi - dvips $< - -%.pdf: %.dvi - dvipdfm -p a4 $< - -%.dvi: %.tex - latex $< - -# Install -###################################### - -install: - $(INSTALLDIR) $(DOCDIR); \ - for d in $(DOCS); do \ - for e in ps pdf dvi; do \ - test -f $$d.$$e && $(INSTALL) -m $(DATA_MODE) $$d.$$e $(DOCDIR); \ - done; \ - $(INSTALLDIR) $(DOCDIR)/$$d; \ - for i in $$d/*; do \ - $(INSTALL) -m $(DATA_MODE) $$i $(DOCDIR)/$$i; \ - done; \ - done - -# ionconf rules -###################################### -ionconf-dvi-full: - latex ionconf - latex ionconf - latex ionconf - makeindex ionconf.idx - latex ionconf - -ionconf-html: - $(L2H) -split 3 ionconf - -fntexes: $(FNTEXES) - -ionconf-all: fntexes fnlist.tex ionconf-dvi-full ionconf-html - -# ionnotes rules -###################################### - -ionnotes-dvi-full: - latex ionnotes - latex ionnotes - latex ionnotes - makeindex ionnotes.idx - latex ionnotes - -ionnotes-html: - $(L2H) -split 4 ionnotes - -ionnotes-all: ionnotes-dvi-full ionnotes-html - -# More generic rules -###################################### - -all: ionconf-all ionnotes-all - -all-ps: ionconf.ps ionnotes.ps - -all-pdf: ionconf.pdf ionnotes.pdf - - -# Clean -###################################### - -clean: - rm -f $(FNTEXES) fnlist.tex - rm -f *.aux *.toc *.log - rm -f *.idx *.ild *.ilg *.ind - -realclean: clean - rm -f *.ps *.pdf *.dvi - rm -rf $(DOCS) - - -# Function reference rules -###################################### - -include $(TOPDIR)/libmainloop/rx.mk - -$(TOPDIR)/%/exports.tex: - $(MAKE) -C $$(dirname $@) _exports_doc - -%.exports: $(TOPDIR)/%/exports.tex - cp $< $@ - -# Function list -###################################### - -fnlist.tex: $(FNTEXES) - grep hyperlabel $+ | \ - sed 's/.*fn:\([^}]*\).*/\\fnlisti{\1}/;'|sort -d -f \ - > $@