$(INSTALLATION_OUT_DIR) is defined. This fixes install on Gentoo.
+2006-01-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * stepmake/stepmake/install-out-targets.make
+ (local-install-outfiles): only create directory if
+ $(INSTALLATION_OUT_DIR) is defined. This fixes install on Gentoo.
+
2006-01-21 Han-Wen Nienhuys <hanwen@xs4all.nl>
* lily/ttf.cc (LY_DEFINE): new function ly:font-glyph-list.
}
FT_Done_Face (face);
+
+ if (be_verbose_global)
+ progress_indication ("]");
return retval;
}
FT_Face face = open_ft_face (file_name);
char const *ps_name_str0 = FT_Get_Postscript_Name (face);
+ FT_Done_Face (face);
+
if (be_verbose_global)
progress_indication ("]");
- FT_Done_Face (face);
return scm_makfrom0str (ps_name_str0 ? ps_name_str0 : "");
}
ALL_GEN_FILES= $(TFM_FILES) $(TEXTABLES) $(TFM_FILES) $(LOG_FILES) $(ENC_FILES) $(LISP_FILES) $(FETA_LIST_FILES) $(OTF_TABLES) $(NCSB_TTFS) $(PFA_FILES) $(OTF_FILES) $(SVG_FILES) $(outdir)/fonts.cache-1
#PRE_INSTALL=$(MAKE) "$(ALL_GEN_FILES)"
+
INSTALLATION_DIR=$(local_lilypond_datadir)/fonts/source
INSTALLATION_FILES=$(MF_FILES) $(AF_FILES)
-INSTALLATION_OUT_SUFFIXES=1 2 3 5 7 8 9
+INSTALLATION_OUT_SUFFIXES=1 2 3 4 5 6
INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/tex
INSTALLATION_OUT_FILES1=$(TEXTABLES)
INSTALLATION_OUT_DIR3=$(local_lilypond_datadir)/fonts/tfm
INSTALLATION_OUT_FILES3=$(TFM_FILES)
+INSTALLATION_OUT_DIR4=$(local_lilypond_datadir)/fonts/svg
+INSTALLATION_OUT_FILES4=$(SVG_FILES)
+
INSTALLATION_OUT_DIR5=$(local_lilypond_datadir)/fonts/type1
INSTALLATION_OUT_FILES5=$(PFA_FILES)
-INSTALLATION_OUT_DIR7=$(local_lilypond_datadir)/ps/
-INSTALLATION_OUT_FILES7=$(ENC_FILES)
-
-INSTALLATION_OUT_DIR9=$(local_lilypond_datadir)/fonts/svg
-INSTALLATION_OUT_FILES9=$(SVG_FILES)
+INSTALLATION_OUT_DIR6=$(local_lilypond_datadir)/ps/
+INSTALLATION_OUT_FILES6=$(ENC_FILES)
export MFINPUTS:=.:$(MFINPUTS)
(x (ly:stencil-extent m X))
(y (ly:stencil-extent m Y)))
-
(ly:make-stencil (ly:stencil-expr m)
(interval-union x-ext x)
(interval-union y-ext y))))
dest = args.pop()
for f in args:
- if create_dir:
- if not os.path.isdir (f):
- os.makedirs (f, mode=mode)
+ if create_dir and not os.path.isdir (f):
+ os.makedirs (f, mode=mode)
chown_me.append (f)
else:
if copy:
# urg, parameterise
local-install-outfiles: $(INSTALLATION_OUT_FILES) $(foreach suff, $(INSTALLATION_OUT_SUFFIXES), $(INSTALLATION_OUT_FILES$(suff)))
- -$(INSTALLPY) -d $(DESTDIR)$(INSTALLATION_OUT_DIR)
- $(INSTALLPY) -c -m 644 $(INSTALLATION_OUT_FILES) $(DESTDIR)$(INSTALLATION_OUT_DIR)/
+ $(if $(INSTALLATION_OUT_DIR),\
+ ($(INSTALLPY) -d $(DESTDIR)$(INSTALLATION_OUT_DIR) || true) \
+ && $(INSTALLPY) -c -m 644 $(INSTALLATION_OUT_FILES) $(DESTDIR)$(INSTALLATION_OUT_DIR)/, true)
$(foreach suff, $(INSTALLATION_OUT_SUFFIXES), \
($(INSTALLPY) -d $(DESTDIR)$(INSTALLATION_OUT_DIR$(suff))/ || true) && \
$(INSTALLPY) -c -m 644 $(INSTALLATION_OUT_FILES$(suff)) $(DESTDIR)$(INSTALLATION_OUT_DIR$(suff))/ && ) true
$(PRE_INSTALL)
-$(INSTALLPY) -d $(DESTDIR)$(INSTALLATION_DIR)
$(INSTALLPY) -m 644 $(addprefix $(src-dir)/,$(INSTALLATION_FILES)) $(DESTDIR)$(INSTALLATION_DIR)/
-
$(foreach suff, $(INSTALLATION_SUFFIXES), \
($(INSTALLPY) -d $(DESTDIR)$(INSTALLATION_DIR$(suff)) || true) && \
$(INSTALLPY) -m 644 $(addprefix $(src-dir)/, $(INSTALLATION_FILES$(suff))) $(DESTDIR)$(INSTALLATION_DIR$(suff))/ )