]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/omf-targets.make
release commit
[lilypond.git] / stepmake / stepmake / omf-targets.make
index fa82e1a64df107c50e2cc73b8b892e32fbb7434f..d35dea43e73120abd55a021366a580fa40e931cd 100644 (file)
@@ -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
+       -$(INSTALL) -d $(local_package_omfdir)
+       $(foreach a, $(OMF_FILES), $(INSTALL) -m 644 $(a) $(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), $(local_package_omfdir)/$(i))
+       -rmdir $(local_package_omfdir)
+