]> granicus.if.org Git - pdns/commitdiff
Fix Makefile
authorPieter Lexis <pieter@plexis.eu>
Tue, 26 Aug 2014 10:55:01 +0000 (12:55 +0200)
committerPieter Lexis <pieter@plexis.eu>
Tue, 25 Nov 2014 19:11:11 +0000 (20:11 +0100)
pdns/docs/Makefile

index 193c03e3a591bbd054588c6bc1be8805256be9b3..72edcdb3a647a5eadb86cc3a55787b1662388cbd 100644 (file)
@@ -7,16 +7,13 @@ clean:
 
 manpages: dnsdist.1 pdns_recursor.1 rec_control.1 dnstcpbench.1
 
-html-new/index.html: process-md mkdocs.yml
-       mkdocs build
-
-process-md: markdown/** process-md.sh dirs
-       rsync -a --delete markdown/. doc-build/.
-       ./process-md.sh
-
-dirs: html-new doc-build
+html-new/index.html: process-md.sh mkdocs.yml markdown/** markdown/*/**
+       rm -rf html-new/*
        mkdir -p html-new
        mkdir -p doc-build
+       rsync -a --delete markdown/. doc-build/.
+       ./process-md.sh
+       mkdocs build
 
 pdns-expanded.html: pdns-expanded.xml
        xmlto xhtml-nochunks -m config.xsl $<