mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
build: port new rule for coreutils.h to old Bash
Reported by Ted Carr in: http://bugs.gnu.org/19184 * src/local.mk (src/coreutils.h): Don't assume single_binary_progs is nonempty.
This commit is contained in:
1 parent
16e2347bd5
commit
d07d9f2434
1 file changed
+2
-1
+2
-1
@@ -577,7 +577,8 @@ src/version.h: Makefile
|
||||
DISTCLEANFILES += src/coreutils.h
|
||||
src/coreutils.h: Makefile
|
||||
$(AM_V_GEN)rm -f $@
|
||||
$(AM_V_at)for prog in $(single_binary_progs); do \
|
||||
$(AM_V_at)for prog in x $(single_binary_progs); do \
|
||||
test $$prog = x && continue; \
|
||||
prog=`basename $$prog`; \
|
||||
main=`echo $$prog | tr '[' '_'`; \
|
||||
echo "SINGLE_BINARY_PROGRAM(\"$$prog\", $$main)"; \
|
||||
|
||||
Reference in new issue
Block a user