]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/topdocs/GNUmakefile
Add '-dcrop' option to ps and svg backends
[lilypond.git] / Documentation / topdocs / GNUmakefile
index 7e2d2641d936b38afdf1f685d541f6588d7f532c..43a99497c10c8c78af1b8432170123142eae2c4e 100644 (file)
@@ -1,16 +1,21 @@
 depth = ../..
 
-
 STEPMAKE_TEMPLATES=documentation tex texinfo topdocs
 LOCALSTEPMAKE_TEMPLATES=lilypond ly
+OUT_TEXI_FILES = $(TEXI_FILES:%.texi=$(outdir)/%.texi) $(TELY_FILES:%.tely=$(outdir)/%.texi)
 HTML_FILES=$(TEXI_FILES:%.texi=$(outdir)/%.html) $(TELY_FILES:%.tely=$(outdir)/%.html)
-PDF_FILES=$(outdir)/NEWS.pdf
 README_TOP_FILES=NEWS AUTHORS INSTALL README
 OUTTXT_FILES= $(outdir)/NEWS.txt
 
 include $(depth)/make/stepmake.make
 
-MAKEINFO_FLAGS += -I $(top-src-dir)/Documentation/user
+DOCUMENTATION_INCLUDES += -I $(outdir) \
+  -I $(top-src-dir)/Documentation
 
-.SECONDARY:
+# FIXME ad-hoc file copy?
+$(outdir)/NEWS.tely: $(top-src-dir)/Documentation/changes.tely
+       cp -f $< $@
 
+ifeq ($(out),www)
+local-WWW-1: $(OUT_TEXI_FILES)
+endif