diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-08-29 16:57:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-08-30 15:22:00 +0200 |
commit | b10412567f0781102efe710ad51984ae26d905d3 (patch) | |
tree | 9d79ee93681d08e9dc5a0e1a0d4369b71aa9b2cb /cfg.mk | |
parent | c81ac64ce71cca4ef268429bcf57f341e6a25bc3 (diff) | |
download | coreutils-b10412567f0781102efe710ad51984ae26d905d3.tar.xz |
build: provide convenience target 'all_programs' also at top-level
This will be mostly useful in future changes.
* Makefile.am (all_programs): New, simply work by delegating to
the same-named target in the 'src/' subdirectory.
* cfg.mk (sc_option_desc_uppercase): Take advantage of it.
(sc_man_file_correlation): Likewise.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -171,14 +171,12 @@ sc_long_lines: # grep -E " {2,6}-.*[^.] [A-Z][a-z]" $$($(VC_LIST_EXCEPT) | grep '\.c$$') # but that would miss descriptions not on the same line as the -option. ALL_RECURSIVE_TARGETS += sc_option_desc_uppercase -sc_option_desc_uppercase: - @$(MAKE) -s -C src all_programs +sc_option_desc_uppercase: all_programs @$(MAKE) -s -C man $@ # Ensure all man/*.[1x] files are present ALL_RECURSIVE_TARGETS += sc_man_file_correlation -sc_man_file_correlation: - @$(MAKE) -s -C src all_programs +sc_man_file_correlation: all_programs @$(MAKE) -s -C man $@ # Ensure that the end of each release's section is marked by two empty lines. |