-$(BIBTEX2HTML) $(BIBTEX2HTML_FLAGS)
$(footify) $@
-localclean:
+local-clean:
rm -f fonts.aux fonts.log feta*.tfm feta*.*pk
# we want footers even if website builds (or is built) partly
$(MAKE) footify
-localclean:
+local-clean:
rm -f fonts.aux fonts.log feta*.tfm feta*.*pk
rm -rf $(outdir)/lilypond $(outdir)/lilypond-internals
# and using a matching TeX (well, I gave up trying for now).
my_tfm_path=$(TFM_PATH) /tmp /tmp /tmp /tmp /tmp /tmp
-localinstall:
+local-install:
mkdir -p $(datadir)
ifeq ($(KPATHSEA),0)
$(foreach i, 1 2 3 4 5, rm -f $(datadir)/tfm.$(i); $(LN_S) $(word $(i), $(my_tfm_path)) $(datadir)/tfm.$(i) ; )
$(outdir)/library.a:
@echo "*** To install libintl type 'make lib; make install-lib' ***"
-localinstall: $(outdir)
+local-install: $(outdir)
@echo "*** To install libintl type 'make lib; make install-lib' ***"
-localuninstall: $(outdir)
+local-uninstall: $(outdir)
@echo "*** To uninstall libintl type 'make uninstall-lib' ***"
include $(depth)/make/stepmake.make
$(MAKE) LIBINTL=yes all
install-lib: $(LIBRARY)
- $(MAKE) LIBINTL=yes localinstall
+ $(MAKE) LIBINTL=yes local-install
uninstall-lib:
- $(MAKE) LIBINTL=yes localuninstall
+ $(MAKE) LIBINTL=yes local-uninstall
*/
#include <stdio.h>
+
#include "config.h"
+#include "string.hh"
#define popen REALLYUGLYKLUDGE
#define pclose ANOTHERREALLYUGLYKLUDGE
#endif
#include "kpath.hh"
-
+#include "version.hh"
char * ly_find_afm (char const * name)
kpse_set_program_name(av0, NULL);
kpse_maketex_option("tfm", TRUE);
- /*
- UGH: should not use DIR_DATADIR, but /var,
- */
-
/*
ugh: apparently the program_args is non-functional.
*/
- kpse_format_info[kpse_tfm_format].program ="mktextfm --destdir " DIR_DATADIR "/tfm";
+#define VERSION MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL
+
+#define MY_TFMPATH "$VARTEXFONTS/tfm/lilypond/" VERSION "/"
- kpse_format_info[kpse_tfm_format].client_path =
- (DIR_DATADIR "/tfm" );
+ char * mypath = kpse_expand (MY_TFMPATH);
+ String prog = "mktextfm --destdir ";
+ prog += mypath;
+ kpse_format_info[kpse_tfm_format].program = strdup (prog.ch_C());
+ kpse_format_info[kpse_tfm_format].client_path = mypath;
#endif
}
virtual void initialize ();
virtual void stop_translation_timestep ();
virtual void start_translation_timestep ();
- virtual void create_grobs ();
+ virtual void process_music ();
virtual void acknowledge_grob (Grob_info);
};
}
void
-Script_engraver::create_grobs ()
+Script_engraver::process_music ()
{
for (int i=0; i < script_req_l_arr_.size(); i++)
{
announce_grob (p, l);
}
- script_req_l_arr_.clear ();
}
void
Grob*e = script_p_arr_[i];
e->set_grob_property ("direction-source", inf.elem_l_->self_scm ());
+ e->add_dependency (inf.elem_l_);
Side_position_interface::add_support (e, inf.elem_l_);
}
}
#include "dimensions.hh"
#include "staff-symbol-referencer.hh"
#include "group-interface.hh"
+#include "directional-element-interface.hh"
void
Side_position_interface::add_support (Grob*me, Grob*e)
Grob * e = unsmob_grob(other_elt);
if (e)
{
- return (Direction)(relative_dir * Side_position_interface::get_direction (e));
+ return (Direction)(relative_dir * Directional_element_interface::get (e));
}
return CENTER;
#
# Also clean hand-compiled stuff in cwd
#
-localclean: local-auto-gen-clean
+local-clean: local-auto-gen-clean
# Compose string from two parts: must not remove myself.
auto-gen-tag=Generated
mutopia:
$(MAKE) examples="$(mutopia-examples)" PAPERSIZE=letter local-WWW $(mutopia-letter)
-localclean: local-letter-clean
+local-clean: local-letter-clean
local-letter-clean:
rm -f $(outdir)-letter/*
$(outdir)/%.afm $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log
$(PYTHON) $(buildscript-dir)/mf-to-table.py --package=$(topdir) --outdir=$(outdir) --dep $(outdir)/$(<F:.log=.dep) --afm $(outdir)/$(<F:.log=.afm) --tex $(outdir)/$(<F:.log=.tex) $<
-localclean:
+local-clean:
rm -f mfplain.mem mfplain.log mpout.log
rm -f *.tfm *.log
+
default: $(MO_FILES)
-localinstall: $(MO_FILES)
+local-install: $(MO_FILES)
for i in $(CATALOGS); do \
$(INSTALL) -d $(localedir)/$$i/LC_MESSAGES; \
$(INSTALL) -m 644 $(outdir)/$$i.mo \
$(localedir)/$$i/LC_MESSAGES/$(package).mo; \
done
-localuninstall:
+local-uninstall:
for i in $(CATALOGS); do \
rm -f $(localedir)/$$i/LC_MESSAGES/$(package).mo; \
rmdir $(localedir)/$$i/LC_MESSAGES || true; \
;;TODO? extra padding :: Real (given in staff spaces)
+
+;; TODO: generate Grob types for this, by prepending appropriate props
+;; on top of Script (?)
+
(set! default-script-alist
(append
'(("thumb" . ((feta . ("thumb" . "thumb")) #f 0 1 0))
INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" -f $(stepdir)/install-out.sub.make
-localinstall: install-info
-localuninstall: uninstall-info
+local-install: install-info
+local-uninstall: uninstall-info
install-info: $(INFO_FILES)
-$(INSTALL) -d $(infodir)
- $(INFOINSTALL) localinstall
+ $(INFOINSTALL) local-install
uninstall-info:
- $(INFOINSTALL) localuninstall
- -rmdir $(infodir)
\ No newline at end of file
+ $(INFOINSTALL) local-uninstall
+ -rmdir $(infodir)
-localinstall: installexe
+local-install: installexe
-localuninstall: uninstallexe
+local-uninstall: uninstallexe
installexe: all
-$(INSTALL) -d $(bindir)
$(LOOP)
# be careful about deletion.
-clean: localclean
+clean: local-clean
-rm -f $(outdir)/*
$(LOOP)
autoconf
chmod +x configure
-localclean:
+local-clean:
local-distclean:
install-strip:
$(MAKE) INSTALL="$(INSTALL) -s" install
-install: localinstall
+install: local-install
$(LOOP)
-localinstall:
+local-install:
-uninstall: localuninstall
+uninstall: local-uninstall
$(LOOP)
-localuninstall:
+local-uninstall:
installextradoc:
-$(INSTALL) -d $(prefix)/doc/$(package)
default: man
-localinstall: install-help2man
+local-install: install-help2man
install-help2man: man
-$(INSTALL) -d $(mandir)/man1
man: $(HELP2MAN_GROFFS)
-localuninstall: uninstall-help2man
+local-uninstall: uninstall-help2man
uninstall-help2man:
$(foreach a, $(notdir $(MANGROFFS)), rm -f $(a) && ) true
-localinstall: $(LIBRARY)
+local-install: $(LIBRARY)
ifneq ($(strip $(INSTALL_HEADERS)),)
$(INSTALL) -d $(includedir)
$(INSTALL) $(INSTALL_HEADERS) $(includedir)
$(INSTALL) $(LIBRARY) $(libdir)/$(INSTALL_LIBRARY)
endif
-localuninstall:
+local-uninstall:
ifneq ($(strip $(INSTALL_HEADERS)),)
rm -f $(addprefix $(includedir)/, $(INSTALL_HEADERS))
endif
# install-out-targets.make
-localinstall: localinstall-files localinstall-outfiles
+local-install: local-install-files local-install-outfiles
-localinstall-files:
+local-install-files:
# urg, parameterise
-localinstall-outfiles: $(INSTALLATION_OUT_FILES) $(foreach suff, $(INSTALLATION_OUT_SUFFIXES), $(INSTALLATION_OUT_FILES$(suff)))
+local-install-outfiles: $(INSTALLATION_OUT_FILES) $(foreach suff, $(INSTALLATION_OUT_SUFFIXES), $(INSTALLATION_OUT_FILES$(suff)))
-$(INSTALL) -d $(INSTALLATION_OUT_DIR)
$(foreach i, $(INSTALLATION_OUT_FILES), \
$(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR)/ && ) true
$(INSTALL) -m 644 $(i) $(INSTALLATION_OUT_DIR$(suff))/ && ) true && ) true
-localuninstall: localuninstall-outfiles localuninstall-files
+local-uninstall: local-uninstall-outfiles local-uninstall-files
-localuninstall-files:
+local-uninstall-files:
-localuninstall-outfiles:
+local-uninstall-outfiles:
rm -f $(foreach i, $(notdir $(INSTALLATION_OUT_FILES)), \
$(INSTALLATION_OUT_DIR)/$(i))
rm -f $(foreach suff, $(INSTALLATION_OUT_SUFFIXES), \
# install-targets.make
-localinstall: localinstall-files localinstall-outfiles
+local-install: local-install-files local-install-outfiles
-localinstall-outfiles:
+local-install-outfiles:
# urg, parameterise
-localinstall-files:
+local-install-files:
$(PRE_INSTALL)
-$(INSTALL) -d $(INSTALLATION_DIR)
$(foreach i, $(INSTALLATION_FILES),\
$(INSTALL) -m 644 $(i) $(INSTALLATION_DIR$(suff))/ && ) && ) true
$(POST_INSTALL)
-localuninstall: localuninstall-outfiles localuninstall-files
+local-uninstall: local-uninstall-outfiles local-uninstall-files
-localuninstall-outfiles:
+local-uninstall-outfiles:
-localuninstall-files:
+local-uninstall-files:
rm -f $(foreach i, $(INSTALLATION_FILES), $(INSTALLATION_DIR)/$(i))
rm -f $(foreach suff, $(INSTALLATION_SUFFIXES), \
$(foreach i, $(INSTALLATION_FILES$(suff)),\
MANGROFF = $(addprefix $(outdir)/, $(addsuffix .$(SECTION)))
-localinstall: $(MANGROFFS)
+local-install: $(MANGROFFS)
-$(INSTALL) -d $(mandir)/man$(SECTION)
$(INSTALL) -m 644 $(MANGROFFS) $(mandir)/man$(SECTION)
-localuninstall:
+local-uninstall:
(cd $(mandir)/man$(SECTION)/; rm -f $(MANGROFF))
$(README_TXT_FILES): do-top-doc
-localclean:
+local-clean:
# if you fix this, please fix yodl too!
% encapsulating tex backend for auto-generated feta definitions
% fix chord.cc::banter_str before removing these
+
\def\fetdef#1#2{%
\def#1{\hbox{\char#2}}}
\fetdef\fetasharp{16}
\fetdef\fetanatural{17}
\fetdef\fetaflat{18}
-\font\fetasixteenfont=feta16
+
+% \font\fetasixteenfont=feta16
+
+\def\fetasixteenfont{\message{TeX strings are deprecated. Please use
+Scheme markup expressions. See the reference manual for more information}}
+
\def\fetafont{\fetasixteenfont}
\def\textflat{{\fetafont\raise 1ex\hbox{\fetaflat}}}
\def\textnatural{{\fetafont\raise 1ex\hbox{\fetanatural}}}