2005-12-20 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * GNUmakefile.in ($(tree-share-prefix)/mf-link-tree link-mf-tree):
+ separate target for making font symlinks.
+
* stepmake/stepmake/help2man-vars.make (OUT_DIST_FILES): only do
something if DOCUMENTATION is no.
ln -s $(top-src-dir)/tex source && \
ln -s ../../../../../tex/$(outconfbase) tex-out && \
ln -s ../../../../../mf/$(outconfbase) mf-out
- -cd $(tree-share-prefix)/fonts/otf && \
- ln -s ../../../../../../mf/$(outconfbase)/*.otf .
- -cd $(tree-share-prefix)/fonts/svg && \
- ln -s ../../../../../../mf/$(outconfbase)/*.svg .
- -cd $(tree-share-prefix)/fonts/tfm && \
- ln -s ../../../../../../mf/$(outconfbase)/*.tfm .
- -cd $(tree-share-prefix)/fonts/type1 && \
- ln -s ../../../../../../mf/$(outconfbase)/*.pfa .
+
cd $(tree-share-prefix)/fonts && \
ln -s $(top-src-dir)/mf source && \
true
(mkdir -p $(tree-share)/locale/$i/LC_MESSAGES && \
cd $(tree-share)/locale/$i/LC_MESSAGES && \
ln -sf ../../../../../po/$(outconfbase)/$i.mo lilypond.mo) &&) true
-# touch $@
touch $(tree-share-prefix)/lilypond-force
+$(tree-share-prefix)/mf-link-tree link-mf-tree:
+ -rm -f $(tree-share-prefix)/fonts/{otf,svg,tfm,type1}/* && \
+ cd $(tree-share-prefix)/fonts/otf && \
+ ln -s ../../../../../../mf/$(outconfbase)/*.otf .
+ -cd $(tree-share-prefix)/fonts/svg && \
+ ln -s ../../../../../../mf/$(outconfbase)/*.svg .
+ -cd $(tree-share-prefix)/fonts/tfm && \
+ ln -s ../../../../../../mf/$(outconfbase)/*.tfm .
+ -cd $(tree-share-prefix)/fonts/type1 && \
+ ln -s ../../../../../../mf/$(outconfbase)/*.pfa .
+
+
local-clean: build-dir-setup-clean
build-dir-setup-clean:
cd $(top-build-dir) && rm -rf share
export MFINPUTS:=.:$(MFINPUTS)
.PHONY: tree-regen
+
# FIXME: temporary hack: must regenerate after building fonts
tree-regen:
- rm -rf $(top-build-dir)/share
- ${MAKE} -C $(top-build-dir) link-tree
+ ${MAKE} -C $(top-build-dir) link-mf-tree
default: pfa_warning $(ALL_GEN_FILES) $(outdir)/emmentaler-20.otf tree-regen
-rmdir $(DESTDIR)$(local_lilypond_datadir)/dvips
foe:
- @echo mf:$(FETA_MF_FILES)
\ No newline at end of file
+ @echo mf:$(FETA_MF_FILES)