]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lysdoc-targets.make
Make test generation generic.
[lilypond.git] / make / lysdoc-targets.make
index cf5a9d2e677a324d1350581352dc5b6edd3ffdae..28b84beee2c6616260584b6fe3fbd222f2bc4f75 100644 (file)
@@ -4,3 +4,18 @@ local-WWW: $(outdir)/collated-files.html $(outdir)/collated-files.pdf
 
 #.PRECIOUS: $(outdir)/$(NAME).texi
 
+local-test-baseline:
+       rm -rf $(outdir)-baseline
+       mv $(outdir) $(outdir)-baseline
+
+local-test:
+       rm -f $(outdir)/collated-files.html
+       if test -d $(top-src-dir)/.git  ; then \
+               echo -e 'HEAD is:\n\n\t' ; \
+               git log --max-count=1 --pretty=oneline ;\
+               echo -e '\n\n\n' ; \
+               git diff ; \
+       fi > $(outdir)/tree.gittxt
+       $(MAKE) LILYPOND_BOOK_LILYPOND_FLAGS="-dbackend=eps --formats=ps $(LILYPOND_JOBS) -dseparate-log-files -dinclude-eps-fonts -dgs-load-lily-fonts --header=texidoc -I $(top-src-dir)/input/manual -ddump-profile -dcheck-internal-types -ddump-signatures -danti-alias-factor=1" LILYPOND_BOOK_VERBOSE= $(outdir)/collated-files.html
+       rsync -L -a --exclude 'out-*' --exclude 'out' --exclude mf --exclude source --exclude mf $(top-build-dir)/out/share $(outdir)
+