Fix a dangerous bug in Makefile which actually allows 'make release' to skip
authorAlexander Bokovoy <ab@samba.org>
Wed, 20 Apr 2005 12:03:35 +0000 (12:03 +0000)
committerGerald W. Carter <jerry@samba.org>
Wed, 23 Apr 2008 13:46:29 +0000 (08:46 -0500)
building 'manpages' target because there is already 'manpages' directory and
some make versions are very sensible to what particular file system reports as
timestamp for the file or a directory.

In particular, this behaviour is reproduceable on some 2.4 kernels with Ext3.
Thanks to Dmitry Levin <ldv@altlinux.org> for spotting the bug and providing the
fix.
(This used to be commit 49afe716b080c08ecf5b2b00a89c9eee3a67ae4e)

docs/Makefile

index 344c01d015e806f0023479b35e0465b5801ba35e..8383a0b447875cfe34c91e9b8a8d5238e92cc37d 100644 (file)
@@ -304,4 +304,4 @@ clean:
 
 # Always keep intermediate files if we can
 .SECONDARY:
-.PHONY: clean clobber archive release everything all
+.PHONY: clean clobber archive release everything all $(TARGETS)