X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fexecutable-targets.make;h=7afa1db57964a4ba2a08ac933e2c3371816dd6fa;hb=fcc93138815645e9ddd3270507c8649d0152cc6a;hp=85d77ef212e0019d39bcedcd551dcd0c04ff968a;hpb=0a92b605eb18b62d171c97f354c2101109d9e071;p=lilypond.git diff --git a/stepmake/stepmake/executable-targets.make b/stepmake/stepmake/executable-targets.make index 85d77ef212..7afa1db579 100644 --- a/stepmake/stepmake/executable-targets.make +++ b/stepmake/stepmake/executable-targets.make @@ -1,38 +1,21 @@ -# Executable.make - -# dependency list of executable: -# - default: $(EXECUTABLE) -$(EXECUTABLE): $(depth)/config.h $(O_FILES) $(outdir)/version.hh - $(foreach a, $(MODULE_LIBS), $(MAKE) -C $(a) && ) true - $(LD_COMMAND) $(O_FILES) $(LOADLIBES) $(USER_LDFLAGS) - exe: $(EXECUTABLE) +local-install: installexe - -localinstall: installexe - -localuninstall: uninstallexe +local-uninstall: uninstallexe installexe: all - -$(INSTALL) -d $(bindir) + -$(INSTALLPY) -d $(DESTDIR)$(bindir) $(foreach a, $(EXECUTABLES), \ - $(INSTALL) -m 755 $(outdir)/$(a) $(bindir)/$(a)$(DOTEXE) && \ - strip $(bindir)/$(a)$(DOTEXE) && ) true - $(foreach a, $(SEXECUTABLES), \ - $(INSTALL) -m 755 $(outdir)/$(a) $(bindir) &&) true + $(INSTALLPY) -m 755 $(outdir)/$(a) \ + $(DESTDIR)$(bindir)/$(program_prefix)$(a)$(program_suffix) && ) true + $(INSTALLPY) -c -m 755 $(addprefix $(outdir)/, $(SEXECUTABLES)) $(DESTDIR)$(bindir) uninstallexe: - $(foreach a, $(EXECUTABLES), rm -f $(bindir)/$(a)$(DOTEXE) &&) true - $(foreach a, $(SEXECUTABLES), rm -f $(bindir)/$(a) &&) true + $(foreach a, $(EXECUTABLES), rm -f \ + $(DESTDIR)$(bindir)/$(program_prefix)$(a)$(program_suffix) && ) true + $(foreach a, $(SEXECUTABLES), rm -f $(DESTDIR)$(bindir)/$(a) &&) true -# Piss off. Use MODULE_LIBS -# -# UGH. fucks up if $(outdir) not created. -# -#%/$(outdir)/library.a: -# $(MAKE) -C $(dir $@)/.. default