]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/generic-targets.make
patch::: 1.3.45.jcn1
[lilypond.git] / stepmake / stepmake / generic-targets.make
index 0e08464814e67296a404e959809661b67127f98a..9b118581e27d85f2ee8507d02f48291e6538402e 100644 (file)
@@ -88,8 +88,12 @@ doc: local-doc
 local-doc:
 
 # Ugh.  C++ specific.
+# If you're not the maintainer, there's no tarball in $(outdir)!
+# Maybe, there is one in ../releases
 doc++:
-       (cd $(outdir); sh ../$(step-bindir)/tar-docxx.sh $(package)-$(TOPLEVEL_VERSION).tar.gz)
+       (cd $(outdir); \
+               $(SHELL) ../$(step-bindir)/tar-docxx.sh $(package)-$(TOPLEVEL_VERSION).tar.gz || \
+               $(SHELL) ../$(step-bindir)/tar-docxx.sh $(release-dir)/$(package)-$(TOPLEVEL_VERSION).tar.gz)
 
 
 local-dist: $(DIST_FILES) $(OUT_DIST_FILES) $(NON_ESSENTIAL_DIST_FILES)