]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/generic-targets.make
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / stepmake / stepmake / generic-targets.make
index e3cbc6ec019f81c1d38f5b21cad6dc853e852d79..ea288ca58c13a37693247fc2b1422d3af0a4684f 100644 (file)
@@ -14,14 +14,20 @@ clean: local-clean
 
 ifneq ($(strip $(depth)),.)
 dist:
-       make -C $(depth) dist
+       $(MAKE) -C $(depth) dist
 endif
 
-distclean: clean 
+distclean: clean
        $(LOOP)
        $(MAKE) local-distclean
 
-maintainerclean: 
+cvs-clean:
+       $(MAKE) local-distclean
+       find . -type d -name out | xargs rm -rf
+       find . -type d -name out-www | xargs rm -rf
+       rm -f aclocal.m4 configure
+
+maintainerclean:
        $(LOOP)
        $(MAKE) local-maintainerclean
        $(MAKE) local-distclean
@@ -112,7 +118,7 @@ local-distclean:
 local-maintainerclean:
 
 install-strip:
-       $(MAKE) INSTALL="$(INSTALL) -s" install
+       $(MAKE) INSTALLPY="$(INSTALLPY) -s" install
 
 ifeq ($(strip $(depth)),.)
 final-install:
@@ -132,9 +138,8 @@ uninstall: local-uninstall
 local-uninstall:
 
 installextradoc:
-       -$(INSTALL) -d $(DESTDIR)$(prefix)/doc/$(package)
-       $(foreach i, $(EXTRA_DOC_FILES),\
-               cp -r $(i) $(prefix)/doc/$(package) &&) true
+       -$(INSTALLPY) -d $(DESTDIR)$(prefix)/doc/$(package)
+       cp -r $(EXTRA_DOC_FILES) $(prefix)/doc/$(package)
 
 include $(outdir)/dummy.dep $(wildcard $(outdir)/*.dep) # expect a warning here
 
@@ -165,7 +170,7 @@ diff:
        $(PYTHON) $(step-bindir)/package-diff.py  --outdir=$(top-src-dir)/$(outdir) --package=$(top-src-dir) $(makeflags)
        -ln -f $(depth)/$(outdir)/$(distname).diff.gz $(patch-dir)
 
-release: 
+release:
        $(PYTHON) $(step-bindir)/release.py --outdir=$(top-src-dir)/$(outdir) --package=$(top-src-dir)
 
 
@@ -181,6 +186,6 @@ WWW: local-WWW
 WWW-post: local-WWW-post
        $(LOOP)
 
-web: 
+web:
        $(MAKE) out=www WWW
        $(MAKE) out=www WWW-post