summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-12-26 19:31:15 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-12-26 19:31:15 +0100
commitf0a7083afefe98aa7aecf4ece592915395947631 (patch)
tree4595d63ddf73b82d96652297847cebc66e4ddc2f /lib
parentc020f1ef664e1ec835d856ec5485769d0a9a7386 (diff)
downloadautomake-f0a7083afefe98aa7aecf4ece592915395947631.tar.gz
Allow user to extend .PRECIOUS target
References: <http://lists.freedesktop.org/archives/systemd-devel/2013-July/012155.html> <http://lists.gnu.org/archive/html/automake/2013-07/msg00011.html> * bin/automake.in: Adjust to ensure we handle '.PRECIOUS' the same way we do for '.PHONY' and '.MAKE'. * lib/Automake/Rule.pm: Likewise. * t/precious.sh: New test. * t/list-of-tests.mk: Add it. * t/phony.sh: Enhance a little while at it. * NEWS: Update. * THANKS: Likewise. Reported-by: Holger Hans Peter Freyther <holger@freyther.de> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Automake/Rule.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Automake/Rule.pm b/lib/Automake/Rule.pm
index a28a78d36..522700902 100644
--- a/lib/Automake/Rule.pm
+++ b/lib/Automake/Rule.pm
@@ -340,8 +340,8 @@ sub reset()
# Tarballing.
'dist-all' => [],
- # Phonying.
'.PHONY' => [],
+ '.PRECIOUS' => [],
# Recursive install targets (so "make -n install" works for BSD Make).
'.MAKE' => [],
);