summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-08-30 18:19:52 +0200
committerJim Meyering <meyering@redhat.com>2012-08-31 12:22:09 +0200
commita11502a98c999a1d6a75c6e2661b25c1bfd95cf6 (patch)
tree1a422f572e73db20487be1d3f493c76185a8b7e9 /cfg.mk
parent56661fd87ad1bede1bb84cf3d36d410edd327301 (diff)
downloadcoreutils-a11502a98c999a1d6a75c6e2661b25c1bfd95cf6.tar.xz
build: move definition of 'all_programs' in cfg.mk
* Makefile.am: Move definition of target 'all_programs' from here ... * cfg.mk: ... to here, which is the only file where it is used.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index c945ea6d7..b80a61f63 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -166,6 +166,12 @@ sc_long_lines:
sed -e "s|^|$$file:|" -e '$(FILTER_LONG_LINES)'; \
done | grep . && { msg="$$halt" $(_sc_say_and_exit) } || :
+# TODO: remove once the build system in 'src/' is merged with the
+# top-level one.
+.PHONY: all_programs
+all_programs:
+ @cd ./src && $(MAKE) -s $@
+
# Option descriptions should not start with a capital letter.
# One could grep source directly as follows:
# grep -E " {2,6}-.*[^.] [A-Z][a-z]" $$($(VC_LIST_EXCEPT) | grep '\.c$$')