]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/omf-targets.make
Build: Dependencies for metafont files (issue 779).
[lilypond.git] / stepmake / stepmake / omf-targets.make
index c96cc788ae97362f4374c4c3947c1f6f8e9e9ebc..49325215e67afaaa2045a2b8da9d7608aa0910f6 100644 (file)
@@ -1,8 +1,16 @@
 
 omf: $(OMF_FILES)
 
-
 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."
+
+ifeq ($(out),www)
+local-uninstall: omf-local-uninstall
+endif
+
+omf-local-uninstall:
+       rm -f $(foreach i, $(OMF_FILES), $(DESTDIR)$(local_package_omfdir)/$(notdir $(i)))
+       -rmdir $(DESTDIR)$(local_package_omfdir)
 
-local-install: omf-local-install