mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-04 07:43:58 +02: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:
+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