Redo the linux cross-build fixes, from rev 1.24 of the master groff version:

http://www.ffii.org/cgi-bin/viewcvs.cgi/groff/Makefile.comm
(The previous fixes still ended up with syntactically-invalid shell
code for the 'for' loops, which would fail on some versions of linux.
The ignore-error marking for the command would allow the build to finish,
but it would leave extraneous "Failed" bits in the build output.)
This commit is contained in:
cgd 2004-03-11 07:23:02 +00:00
parent ad0332662d
commit 959bb13f95
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Copyright (C) 1989-2000, 2002 Free Software Foundation, Inc.
# Copyright (C) 1989-2000, 2002, 2003, 2004 Free Software Foundation, Inc.
# Written by James Clark (jjc@jclark.com)
#
# This file is part of groff.
@ -239,7 +239,7 @@ install_dev:
|| $(mkinstalldirs) $(fontsubdir)/generate; \
fi
-test -z "$(DEVFILES)" \
|| for f in $(DEVFILES); do \
|| for f in ""$(DEVFILES); do \
rm -f $(fontsubdir)/$$f; \
if test -f $$f; then \
$(INSTALL_DATA) $$f $(fontsubdir)/$$f; \
@ -248,7 +248,7 @@ install_dev:
fi; \
done
-test -z "$(DEVSCRIPTS)" \
|| for f in $(DEVSCRIPTS); do \
|| for f in ""$(DEVSCRIPTS); do \
rm -f $(fontsubdir)/$$f; \
if test -f $$f; then \
$(INSTALL_SCRIPT) $$f $(fontsubdir)/$$f; \
@ -260,7 +260,7 @@ install_dev:
.PHONY: uninstall_dev
uninstall_dev:
-test -z "$(DEVFILES)$(DEVSCRIPTS)" \
|| for f in $(DEVFILES) $(DEVSCRIPTS); do \
|| for f in ""$(DEVFILES) $(DEVSCRIPTS); do \
rm -f $(fontsubdir)/$$f; \
done
-test -d $(fontsubdir)/generate && rmdir $(fontsubdir)/generate