mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
build: add an explanatory comment
* man/Makefile.am (EXTRA_DIST): Describe portability issues of the idiom we now use. Reformat the definition a little while at it.
This commit is contained in:
1 parent
60b01f9f02
commit
0f54e9761f
1 file changed
+11
-2
+11
-2
@@ -19,10 +19,19 @@ dist_man1_MANS = $(MAN)
|
||||
|
||||
man_aux = $(dist_man1_MANS:.1=.x)
|
||||
|
||||
EXTRA_DIST = $(man_aux) $(NO_INSTALL_PROGS_DEFAULT:%=%.x) help2man \
|
||||
$(NO_INSTALL_PROGS_DEFAULT:%=%.1)
|
||||
EXTRA_DIST = $(man_aux) help2man
|
||||
MAINTAINERCLEANFILES = $(dist_man1_MANS)
|
||||
|
||||
# The "$(VAR:%=%.x)" idiom is not portable according to POSIX, but in
|
||||
# practice it works with several make implementation (GNU, BSD, CCS make
|
||||
# from Solaris 10, Sun distributed make). In addition, since only
|
||||
# maintainers are expected to build release tarballs (and they should
|
||||
# use GNU make when doing so), it's not big deal if this won't work with
|
||||
# some dumber make implementation.
|
||||
EXTRA_DIST += \
|
||||
$(NO_INSTALL_PROGS_DEFAULT:%=%.x) \
|
||||
$(NO_INSTALL_PROGS_DEFAULT:%=%.1)
|
||||
|
||||
# Depend on ../.version to get version number changes.
|
||||
common_dep = ../.version
|
||||
|
||||
|
||||
Reference in new issue
Block a user