Dokumentation für Flags in Variablen in Druckvorlagen
[kivitendo-erp.git] / doc / Makefile
index 1496c11..5b17e28 100644 (file)
@@ -1,18 +1,20 @@
 # The Installation Documentation is being written in 'INSTALL.texi' using
 # the texinfo syntax. Visit http://www.gnu.org/software/texinfo/ and
-# http://cvs.savannah.gnu.org/viewvc/*checkout*/texinfo/doc/refcard/txirefcard-a4.pdf?root=texinfo
+# http://mirrors.ctan.org/macros/texinfo/texinfo/doc/refcard/txirefcard.pdf
 #
-# In order to generate the files INSTALL.txt and the HTML files under
-# INSTALL/ you have to install the 'make' and 'textinfo' packages of
-# your operating system.
-# Possibly a 'Lx-Office_Installation_DE.pdf' will generated too.
+# In order to generate the text, HTML and PDF versions of this
+# documentation you have to install the 'make' and 'textinfo' packages
+# of your operating system.
 #
 # Usage:
 # cd doc/
 # make
 
-all:
-       rm -f INSTALL/*.html
-       makeinfo --html      --document-language=de_DE.UTF-8                                  INSTALL.texi
-       makeinfo --plaintext --document-language=de_DE.UTF-8 -o INSTALL.txt                   INSTALL.texi
-       texi2pdf -p -c -q                                    -o Lx-Office_Installation_DE.pdf INSTALL.texi
+all: INSTALL.txt Lx-Office_Installation_DE.pdf
+
+%.txt: %.texi
+       makeinfo --html      --document-language=de_DE.UTF-8 -o $(patsubst %.txt,%.html,$@) --no-split $^
+       makeinfo --plaintext --document-language=de_DE.UTF-8 -o $@                                     $^
+
+Lx-Office_Installation_DE.pdf: INSTALL.texi
+       texi2pdf -p -c -q -o $@ $^