changeset 29995:8b075e14285c

Avoid hackish shell loop to symlink missing XML source files. Instead, employ make syntax to generate the shell command arguments.
author diego
date Mon, 14 Dec 2009 03:50:34 +0000
parents 0eba66234d64
children bf0e351cdb20
files DOCS/xml/Makefile.inc
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Mon Dec 14 03:43:54 2009 +0000
+++ b/DOCS/xml/Makefile.inc	Mon Dec 14 03:50:34 2009 +0000
@@ -31,8 +31,6 @@
 	cd .. && sh configure
 
 $(SYMLINKS_DEPS):
-	for file in ../en/*.xml ; do \
-	test -r `basename $$file` || ln -s $$file `basename $$file` ; \
-	done
+	test -r $(@F) || ln -s ../en/$@ $@
 
 .PHONY: all html-chunked html-single xmllint