X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2FGNUmakefile;h=37a452a11f1b975c33a484ac18f2b76e1b428572;hb=db2d03691f2b1114b1b822c3ed0aa6f803045815;hp=40b54c886bcbf10c2beb67f487e45f383348d14f;hpb=d098d33a41336f4966b5b3c8444d7646b5f80c88;p=lilypond.git diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 40b54c886b..37a452a11f 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -1,26 +1,47 @@ depth = .. NAME = documentation -SUBDIRS=user bibliography pictures topdocs ntweb misc +LANGS = $(shell $(PYTHON) $(buildscript-dir)/langdefs.py) +SUBDIRS=user bibliography pictures topdocs misc po $(LANGS) STEPMAKE_TEMPLATES=documentation texinfo tex -LOCALSTEPMAKE_TEMPLATES=lilypond mudela +LOCALSTEPMAKE_TEMPLATES=lilypond ly +LILYPOND_BOOK_FLAGS=--extra-options '-e "(ly:set-option (quote internal-type-checking) \#t)"' +README_TOP_FILES= DEDICATION THANKS +EXTRA_DIST_FILES= texinfo.css -README_TOP_FILES=NEWS DEDICATION CHANGES TODO -EXTRA_DIST_FILES= - -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make default: local-doc -local-WWW: copy-for-me txt-to-html $(outdir)/regression-test.ps.gz $(outdir)/regression-test.html footify +local-WWW: copy-for-me txt-to-html $(outdir)/index.html + +local-WWW-clean: deep-WWW-clean + +deep-WWW-clean: + rm -rf $(outdir)/wiki-dump copy-for-me: - $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true + $(foreach a, $(README_TOP_FILES), cp $(top-src-dir)/$(a) $(outdir)/$(a).txt && ) true +OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(README_TOP_FILES))) + +# cd $(outdir) rule gets bit hairy for --srcdir configure builds txt-to-html: - $(foreach a, $(README_TOP_FILES), \ - echo "