X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fmetadoc%2FGNUmakefile;h=25b42eea53793c0f9c4aeefbd830dff61960a4cb;hb=0cf97b5cdceecbba937f43ac827f4065aad5001e;hp=bd940faee7994ed6e0a1aa16cd3ca0ee39bf9435;hpb=e319b8b2e19181a6e0864139bd94a36d66adb602;p=lilypond.git diff --git a/Documentation/metadoc/GNUmakefile b/Documentation/metadoc/GNUmakefile index bd940faee7..25b42eea53 100644 --- a/Documentation/metadoc/GNUmakefile +++ b/Documentation/metadoc/GNUmakefile @@ -2,21 +2,15 @@ depth=../.. -DATA_FILES = $(wildcard *.data) -datafiles = $(addprefix $(outdir)/,$(DATA_FILES:.data=.html)) TEX_FILES = $(wildcard *.tex) DOC_FILES = $(wildcard *.doc) - DVI_FILES = $(addprefix $(outdir)/,$(DOC_FILES:.doc=.dvi) $(TELY_FILES:.tely=.dvi)) -OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES)) - OUTTEX_FILES = $(addprefix $(outdir)/, $(TEX_FILES)) OUTDOC_FILES = $(addprefix $(outdir)/, $(DOC_FILES)) -EL_FILES = $(wildcard *.el) -BIB_FILES= $(wildcard *.bib) -EXTRA_DIST_FILES= $(BIB_FILES) $(DOC_FILES) $(DATA_FILES) $(EL_FILES) $(TEX_FILES) $(wildcard *.sty) -HTML_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.html)) + +EXTRA_DIST_FILES= $(DOC_FILES) $(TEX_FILES) $(wildcard *.sty) +HTML_FILES = $(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html)) PS_FILES = $(DVI_FILES:.dvi=.ps) STEPMAKE_TEMPLATES=tex documentation texinfo @@ -25,11 +19,6 @@ LOCALSTEPMAKE_TEMPLATES=lilypond mudela export BIBINPUTS:=$(shell pwd)//$(PATHSEP)$(BIBINPUTS) include $(depth)/make/stepmake.make - - - - - dvi: $(DVI_FILES) ps: $(PS_FILES) @@ -37,39 +26,11 @@ ps: $(PS_FILES) # urg default: -GENHTMLS = engraving colorado computer-notation -OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html)) - -#urg should generalise and move Lilypond -> StepMake -# URG. Lilypond specific. Move out. -$(outdir)/%.html: %.data $(depth)/VERSION - $(PYTHON) $(step-bindir)/table-to-html.py --columns=7 --linesep=' ' --package=$(topdir) -o $@ $< - $(footify) $@ - -$(outdir)/%.tex: %.data $(depth)/VERSION - $(PYTHON) $(step-bindir)/table-to-html.py --columns=7 --linesep=' ' --package=$(topdir) -o $@ --latex $< - +localclean: + rm -f fonts.aux fonts.log feta*.tfm feta*.*pk -local-WWW-donotdoit: $(HTML_FILES) $(OUTTEX_FILES:.doc=.ps.gz) $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html)) $(datafiles) ps - $(PYTHON) $(step-bindir)/ls-latex.py --title 'LaTeX documents about design and implementation of LilyPond' \ - $(TELY_FILES) $(BIB_FILES) $(DOC_FILES) $(TEX_FILES)\ +local-WWW: $(HTML_FILES) + $(PYTHON) $(step-bindir)/ls-latex.py --title 'Hacker documentation' \ + $(DOC_FILES) $(TEXI_FILES) $(TELY_FILES) \ | sed "s!$(outdir)/!!g" > $(outdir)/index.html - $(footify) $(outdir)/index.html - -$(outdir)/%.bib: %.bib - ln -f $< $@ - -# ignore result since bib2html is nonstandard. Errors would halt the RPM build.j -$(outdir)/%.html: %.bib - -bib2html $< $@ - $(footify) $@ - -# Yeah right: -# make -k out/mudela.dvi => cp -f out/vocabulary.tex out/mudela.dvi - -#out/%: $(outdir)/% -# cp -f $< $@ - -locamlclean: - rm -f fonts.aux fonts.log feta*.tfm feta*.*pk