X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Fomf-targets.make;h=59bf6218fd1eaa9f468810fd1ea1ae16911e7a5a;hb=f9980f5ecaae4d2cfc03d5379c5588596cc60d03;hp=99be618d47b8afc08593f8197381ab0092677945;hpb=992a021d628177d3d4f18ce9cd58fb95cb6766ab;p=lilypond.git diff --git a/stepmake/stepmake/omf-targets.make b/stepmake/stepmake/omf-targets.make index 99be618d47..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) -m 644 $(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) +