Commits

shl...@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed 273e25d

r5147@telaviv1: shlomi | 2008-05-14 14:26:59 +0300
Made the makefile fortunes' build more robust.

  • Participants
  • Parent commits ef40d0e

Comments (0)

Files changed (1)

 
 fortunes-compile-xmls: $(FORTUNES_XHTMLS)
 
+# The touch is to make sure we compile the .html.wml again.
+
 $(FORTUNES_XHTMLS): $(FORTUNES_XHTMLS_DIR)/%.xhtml : $(T2_FORTUNES_DIR)/%.xml
-	bash $(T2_FORTUNES_DIR)/run-validator.bash $<
-	perl $(T2_FORTUNES_DIR)/convert-to-xhtml.pl $< $@
-	# This is to make sure we compile the .html.wml again.
+	bash $(T2_FORTUNES_DIR)/run-validator.bash $< && \
+	perl $(T2_FORTUNES_DIR)/convert-to-xhtml.pl $< $@ && \
 	touch $(patsubst %.xml,%.html.wml,$<)