X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2FGNUmakefile;h=a7306c85242531467eb64e75bf6b1e0f1398987c;hb=302b6147551ed3a53e526798e2913f876bf95eed;hp=361a15f4a7596e3580bb7e7c0b9959426070b07d;hpb=a41bc3e06fca46daa875419b5dc00dd958e1fde0;p=lilypond.git diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 361a15f4a7..a7306c8524 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -1,22 +1,29 @@ -# Documentation/Makefile - depth = .. NAME = documentation -SUBDIRS=man tex pictures topdocs ntweb -STEPMAKE_TEMPLATES=documentation -README_TOP_FILES=NEWS DEDICATION TODO ANNOUNCE-0.1 +SUBDIRS=user bibliography pictures topdocs misc +STEPMAKE_TEMPLATES=documentation texinfo tex +LOCALSTEPMAKE_TEMPLATES=lilypond ly +LILYPOND_BOOK_FLAGS=--extra-options '-e "(ly:set-option (quote internal-type-checking) \#t)"' +README_TOP_FILES= DEDICATION THANKS ChangeLog +EXTRA_DIST_FILES= texinfo.css + +include $(depth)/make/stepmake.make -EXTRA_DIST_FILES = gnu-music-history TODO +default: local-doc -BLURBS=BLURB COPERTINA FLAPTEKST -OUTTEXINFO_FILES = $(outdir)/topinfo.texinfo $(outdir)/mutopia.texinfo +local-WWW: copy-for-me txt-to-html $(outdir)/index.html -include $(depth)/make/stepmake.make +local-WWW-clean: deep-WWW-clean -default: do-doc +deep-WWW-clean: + rm -rf $(outdir)/wiki-dump -# INFO_FILES = $(outdir)/$(package).info +copy-for-me: + $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true -texinfo: $(OUTTEXINFO_FILES) +OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(README_TOP_FILES))) +# cd $(outdir) rule gets bit hairy for --srcdir configure builds +txt-to-html: + $(PYTHON) $(step-bindir)/text2html.py $(OUT_TXT_FILES)