X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fomf-targets.make;h=59bf6218fd1eaa9f468810fd1ea1ae16911e7a5a;hb=ebc4a899b2cb390bb27bc388e686c99ed744797f;hp=fa82e1a64df107c50e2cc73b8b892e32fbb7434f;hpb=9a7a808b7c7abcacd08f4c992f75394cc4543d2e;p=lilypond.git diff --git a/stepmake/stepmake/omf-targets.make b/stepmake/stepmake/omf-targets.make index fa82e1a64d..59bf6218fd 100644 --- a/stepmake/stepmake/omf-targets.make +++ b/stepmake/stepmake/omf-targets.make @@ -1,9 +1,16 @@ omf: $(OMF_FILES) +local-install: omf-local-install omf-local-install: $(OMF_FILES) - $(foreach a, $(OMF_FILES), $(INSTALL) $(a) $(local_package_omfdir)/$(notdir $(a)) && ) true + -$(INSTALLPY) -d $(DESTDIR)$(local_package_omfdir) + $(foreach a, $(OMF_FILES), $(INSTALLPY) -m 644 $(a) $(DESTDIR)$(local_package_omfdir)/$(notdir $(a)) && ) true @echo "Run scrollkeeper-update to register newly installed OMF files." -local-install: omf-local-install +local-uninstall: omf-local-uninstall + +omf-local-uninstall: + rm -f $(foreach i, $(OMF_FILES), $(DESTDIR)$(local_package_omfdir)/$(i)) + -rmdir $(DESTDIR)$(local_package_omfdir) +