diff --git a/make-includes/build_document_rules.make b/make-includes/build_document_rules.make index 5d8b432..4bb19f6 100755 --- a/make-includes/build_document_rules.make +++ b/make-includes/build_document_rules.make @@ -220,7 +220,7 @@ $(PRINT_QUESTIONS_TEX): $(DERIVED_XML) @announce "Building $@ from $<" - @echo "\\markfirstpage{$(SECTION)/$(BASE_NAME)/$(@:.tex=.pdf)}" >> $@ + @echo "\\markfirstpage{$(SECTION)/$(BASE_NAME)/$(@:.tex=.pdf)}" > $@ $(call xslt,$<,xml2latex.xsl,$(call xslt_parameter,department,'$(SUBJECT_CODE)'),$(call xslt_parameter,paper,'$(PAPER_NUMBER)'),$(call xslt_parameter,standalone,'no'),$(call xslt_parameter,showanswers,'no'),$(call xslt_parameter,base-path,'sections/$(SECTION)/$(BASE_NAME)'),$(call xslt_parameter,image-format,'pdf')) >> $@ @echo "\\marklastpage{$(SECTION)/$(BASE_NAME)/$(@:.tex=.pdf)}" >> $@