mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
build: adjust new rule not to depend on bash-4.x
* man/local.mk (man/dynamic-deps.mk): Use the same code to
derive FOO from man/FOO.1 as in the .x.1 rule below.
Using the more concise "name=$${man:4: -2}" is not portable enough.
This commit is contained in:
1 parent
71e2ea7734
commit
4d82df724e
1 file changed
+1
-1
+1
-1
@@ -61,7 +61,7 @@ CLEANFILES += man/dynamic-deps.mk
|
||||
man/dynamic-deps.mk: Makefile
|
||||
$(AM_V_GEN)rm -f $@ $@-t
|
||||
$(AM_V_at)for man in $(ALL_MANS); do \
|
||||
name=$${man:4: -2} ; # Space is important \
|
||||
name=`echo "$$man"|sed 's|.*/||; s|\.1$$||'` || exit 1; \
|
||||
case $$name in \
|
||||
arch) prog='uname';; \
|
||||
install) prog='ginstall';; \
|
||||
|
||||
Reference in new issue
Block a user