summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2005-05-06 15:52:59 +0000
committerBart Schaefer <barts@users.sourceforge.net>2005-05-06 15:52:59 +0000
commit6fc7d203b92e70f3ae8429d47666a60c4e005cce (patch)
tree84741e799fa30bbeba1322963ad8a9f71e864daf
parent3f8eca3e2dea9c8559e7ea326d46c6c996fdc102 (diff)
downloadzsh-6fc7d203b92e70f3ae8429d47666a60c4e005cce.tar.gz
zsh-6fc7d203b92e70f3ae8429d47666a60c4e005cce.tar.xz
zsh-6fc7d203b92e70f3ae8429d47666a60c4e005cce.zip
21229: fix build when yodl not found
-rw-r--r--ChangeLog4
-rw-r--r--Doc/Makefile.in9
2 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 7739ff7dd..21020392b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-06  Bart Schaefer  <schaefer@zsh.org>
+
+	* 21229: Doc/Makefile.in: fix fake build run when yodl isn't found
+
 2005-05-05  Clint Adams  <clint@zsh.org>
 
 	* Jesse Weinstein: 21230 (reformatted as 21231):
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 4223c8625..72cf0f5f5 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -114,11 +114,10 @@ zsh.info: $(sdir)/zsh.texi
 	  */*) target=$@ ;; \
 	  *) target=$(sdir)/$@ ;; \
 	esac; \
-	case '$(YODL)' in :*) ;; *) \
+	case '$(YODL)' in :*) touch $$target ;; *) \
 	    echo $(YODL) -o $$target -I$(sdir) -w zman.yo version.yo $< ; \
 	    $(YODL) -I$(sdir) -w zman.yo version.yo $< | sed -e '1s/\\-/-/g' -e '/^\.'\''/d' > $$target \
 	;; esac; \
-	test -f $$target
 
 ps: us_ps a4_ps
 .PHONY: ps
@@ -146,17 +145,15 @@ zshall.1: zsh.yo
 	  */*) target=$@ ;; \
 	  *) target=$(sdir)/$@ ;; \
 	esac; \
-	case '$(YODL)' in :*) ;; *) \
+	case '$(YODL)' in :*) touch $$target ;; *) \
 	    echo $(YODL) -o $$target -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo; \
 	    $(YODL) -I$(sdir) -DZSHALL -w zman.yo version.yo zsh.yo | sed -e '1s/\\-/-/g' -e '/^\.'\''/d' > $$target \
 	;; esac; \
-	test -f $$target
 
 ../META-FAQ: META-FAQ.yo Zsh/metafaq.yo
-	case '$(YODL)' in :*) ;; *) \
+	case '$(YODL)' in :*) touch $(sdir_top)/META-FAQ ;; *) \
 	    $(YODL) -I$(sdir) META-FAQ.yo | sed -e '/NEXTLINE/N' -e '/DELLINE/d' -e '/^SECTHEAD$$/{N;s/^SECTHEAD.//;h;s/./-/g;H;g;}' -e 's/  *$$//' > $(sdir_top)/META-FAQ \
 	;; esac
-	test -f $(sdir_top)/META-FAQ
 
 $(YODLDOC): version.yo