From: Jan Nieuwenhuizen Date: Fri, 14 Jun 2002 21:53:58 +0000 (+0000) Subject: (top-web): Rewrite weblist find command. X-Git-Tag: release/1.5.62~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9b235fcb997e23b2ac9440b93fd486b4db58272a;p=lilypond.git (top-web): Rewrite weblist find command. --- diff --git a/ChangeLog b/ChangeLog index 68db43c81a..67448968f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * GNUmakefile.in (short-examples): (long-examples): Bugfix for --srcdir build. + (top-web): Rewrite weblist find command. * stepmake/bin/config.sub: * stepmake/bin/config.guess: Update from latest autotools. diff --git a/GNUmakefile.in b/GNUmakefile.in index 4137959534..6f9510cd8c 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -82,22 +82,14 @@ lily: lily/$(outdir)/lilypond lily/$(outdir)/lilypond: $(MAKE) -C lily -local-web: web-doc $(TOP_HTMLS:%=%) footify do-top-doc top-web +local-web: web-doc $(TOP_HTMLS:%.html=%) footify do-top-doc top-web +web-ext = gz html midi pdf png txt top-web: cd $(builddir) && rm -f `find . -name \*.html~ -print` - cd $(builddir) && find `find Documentation input mutopia -type d -name 'out-www' -print` \ - -not -name '*.dvi' -not -name '*ly' -not -name '*.tex' \ - -not -name '*.ps' -not -name '*.eps' -not -name '*pk' \ - -not -name '*.aux' -not -name '*.cp' -not -name '*.fn' \ - -not -name '*.vr' -not -name '*.yp' -not -name '*.ky' \ - -not -name '*.pg' -not -name '*.tmp' -not -name '*.toc' \ - -not -name '*.fns' -not -name '*.cps' -not -name '*.nexi' \ - -not -name '*.texi' -not -name '*.texidoc' -not -name '*.tp' \ - -not -name '*.pdfps' -not -name '*.eps.bbox' \ - -not -name '*.log' -not -name 'out-www' -not -name '*.dep' \ - -print \ - > $(outdir)/weblist + cd $(builddir) && find Documentation input mutopia \ + $(web-ext:%=-path '*/out-www/*.%' -or) -false \ + > $(outdir)/weblist cd $(builddir) && ls *.png *.html >> $(outdir)/weblist cat $(outdir)/weblist | (cd $(builddir); GZIP=-9v tar -czf $(outdir)/web.tar.gz -T -)