default: $(outdir)/VERSION
-$(outdir)/VERSION: $(config_make)
+$(outdir)/VERSION: $(config_make) VERSION
echo $(TOPLEVEL_VERSION) > $@
dist-toplevel-txt-files:
cd $(top-build-dir) && find Documentation input \
$(web-ext:%=-path '*/out-www/*.%' -or) -type l \
- | grep -v 'lily-[0-9a-f][0-9a-f]*.pdf' \
+ | grep -v 'lily-[0-9a-f]*.*pdf' \
| grep -v '/fr/' \
> $(outdir)/weblist
ls $(outdir)/*.html >> $(outdir)/weblist
rm -rf $$a ; \
done \
done
- echo $(TOPLEVEL_VERSION) > $(outdir)/web-root/VERSION
tree-prefix = $(outdir)
tree-bin = $(tree-prefix)/bin
HELP_CATALOGS = $(PO_FILES:po/%.po=%)
CATALOGS = $(HELP_CATALOGS:lilypond=)
-$(tree-share-prefix)/lilypond-force link-tree: GNUmakefile
+$(tree-share-prefix)/lilypond-force link-tree: GNUmakefile $(outdir)/VERSION
# Preparing LilyPond tree for build-dir exec
cd $(top-build-dir)/$(outbase) && rm -rf bin lib share
mkdir -p $(tree-bin)
TAGS.make: dummy
etags -o $@ $(find $(top-src-dir) -name 'GNUmakefile*' -o -name '*.make')
-local-clean: build-dir-setup-clean local-web-clean
-
-local-web-clean:
- rm -rf $(outdir)/web-root/
-
-
-
-build-dir-setup-clean:
- cd $(top-build-dir) && rm -rf share
-
$(config_h): config.hh.in
#
# this is to prevent people from getting
@echo ' rm $(config_h); ./autogen.sh'
@echo
@false
+
+
+test:
+ $(MAKE) -C input/regression/ out=test clean
+ $(MAKE) -C input/regression/ out=test WWW ANTI_ALIAS_FACTOR=1
+
+
+CHECK_SOURCE=$(HOME)/vc/gub/target/linux-x86/build/lilypond-master-git.sv.gnu.org-lilypond.git/input/regression/out-test/
+RESULT_DIR=$(top-build-dir)/out/test-results/
+check: test
+ rm -rf $(RESULT_DIR)
+ mkdir -p $(RESULT_DIR)
+ $(PYTHON) $(buildscript-dir)/output-distance.py --output-dir $(RESULT_DIR) $(CHECK_SOURCE) input/regression/out-test/