fix broken dependencies, and man page generation
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 8 May 2003 00:34:29 +0000 (00:34 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 8 May 2003 00:34:29 +0000 (00:34 +0000)
doc/Makefile.am

index 1c875a9cdf96bf59f51f5679cd0838ac295a3afd..3cfcac6864eafddf0a022b4dd351be46d3e7575c 100644 (file)
@@ -13,16 +13,16 @@ clean-local:
 
 locales = de
 
-$(DOC).pdf: $(DOC).sgml
+$(DOC).pdf: $(DOC).sgml $(SGML)
        -docbook2pdf $(DOC).sgml
-       
-html: $(DOC).sgml
+
+html: $(DOC).sgml $(SGML)
        -mkdir -p html
-       -docbook2html -o html $(DOC).sgml
+       -docbook2html -o html $(DOC).sgml && touch html
 
-man: $(DOC).sgml
+man: $(DOC).sgml $(SGML)
        -mkdir -p man
-       -docbook2html -o man $(DOC).sgml
+       -docbook2man -o man $(DOC).sgml && touch man
 
 funcref.sgml: funcref mkref
        ./mkref funcref >funcref.sgml
@@ -30,8 +30,6 @@ funcref.sgml: funcref mkref
 drivers.sgml: drivers.txt mkdr
        ./mkdr drivers.txt >drivers.sgml
 
-$(DOC).sgml: $(SGML)
-
 messages: .phony
        xgettext -k_ -k_s $(shell find .. -name '*.c')
        for i in $(locales);do \