From dc3dc081f6f5ef393dcd17d0f2089cdc55bca2bd Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 16 Mar 2009 20:15:04 +0100 Subject: [PATCH] Path of generated html is conditionally printed I use if in ma XXE macro, which calls make and opens the resulting tml in a browser. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 85987c0..4fec7fd 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,9 @@ endif $(Q)mkdir -p $(dir $@) $(Q)echo " XSLTPROC $(RELATIVEDIR:%=%/)$(notdir $@)" $(Q)xsltproc --stringparam www.root "$(WWW_ROOT)" $(XSLTPROCFLAGS) $(BASEDIR)/xsl/course.xsl $< > "$@" +ifdef SHOW_HTML_PATH + $(Q)echo "$@" # Used by XXE macro to display the compiled page +endif links.mk: $(XMLS:%.xml=%.links) -- 2.39.2