]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/executable-targets.make
edf282ab0a31308bd54f4d2c8704f1207b260781
[lilypond.git] / stepmake / stepmake / executable-targets.make
1 default: $(EXECUTABLE)
2
3 exe: $(EXECUTABLE)
4
5 local-install: installexe
6
7 local-uninstall: uninstallexe
8
9 installexe: all
10         -$(INSTALL) -d $(DESTDIR)$(bindir)
11         $(foreach a, $(EXECUTABLES), \
12                 $(INSTALL) -m 755 $(outdir)/$(a) \
13                 $(DESTDIR)$(bindir)/$(program_prefix)$(a)$(program_suffix) && ) true
14         $(foreach a, $(SEXECUTABLES), \
15                 $(INSTALL) -m 755 $(outdir)/$(a) $(DESTDIR)$(bindir) &&) true
16
17 uninstallexe:
18         $(foreach a, $(EXECUTABLES), rm -f \
19                 $(DESTDIR)$(bindir)/$(program_prefix)$(a)$(program_suffix) && ) true
20         $(foreach a, $(SEXECUTABLES), rm -f $(DESTDIR)$(bindir)/$(a) &&) true
21
22