]> git.ipfire.org Git - thirdparty/pdns.git/commit
Rename manpages target to all-manpages 2493/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 5 May 2015 10:38:25 +0000 (12:38 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 5 May 2015 10:41:31 +0000 (12:41 +0200)
commit094360c6c3c1d5d543de03274688b18f5d85bbe7
treee1d7b1ad748ade57658592baf63390410ca62857
parentd1f9679cedd7ff780d688c01aee0c204a86980fd
Rename manpages target to all-manpages

manpages was both a directory and a .PHONY target.
This caused make distcheck to trigger the rule
for this target and build all the manpages instead
of only the ones needed. The unneeded manpages were left
in the build root after a distclean:

ERROR: files left in build directory after distclean:
./docs/dnsdist.1
./docs/pdns_recursor.1
./docs/rec_control.1
Makefile:824: recipe for target 'distcleancheck' failed
make[1]: *** [distcleancheck] Error 1
make[1]: Leaving directory '/home/ruben/src/pdns/pdns-git/_build/sub'
Makefile:751: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1

Always ship all the markdown for the manpages in the tarball
but don't trigger the rule to generate all the files.

After this change, we can run
make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-dependency-tracking
docs/Makefile.am