]> git.decadent.org.uk Git - ion3.git/blobdiff - doc/Makefile
Merged upstream version 20071109 (now without docs kluged into it).
[ion3.git] / doc / Makefile
diff --git a/doc/Makefile b/doc/Makefile
deleted file mode 100644 (file)
index ca10058..0000000
+++ /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 \
-       > $@