X-Git-Url: http://rtime.felk.cvut.cz/gitweb/edu/xsl.git/blobdiff_plain/018d18b446962e29dd509e05fb9652b553aa68cb..HEAD:/Makefile diff --git a/Makefile b/Makefile index 85987c0..cc75c19 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ endif export BASEDIR # RELATIVEDIR: relative path from BASEDIR to the current directory -RELATIVEDIR=$(patsubst /%,%,$(patsubst $(BASEDIR)%,%,$(shell pwd))) +RELATIVEDIR=$(patsubst /%,%,$(patsubst $(BASEDIR)%,%,$(shell pwd -L))) # BACK_TO_BASE: relative path from the current directory to BASEDIR BACK_TO_BASE:=$(shell echo $(RELATIVEDIR)|sed -e 's/[^/]\+/../g') @@ -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)