Revise the rules for building the distribution files for the HTML format.

These work again.
This commit is contained in:
Fred Drake 2001-07-17 23:35:46 +00:00
parent 0068e9c1eb
commit 8f65aeffbd
1 changed files with 10 additions and 7 deletions

View File

@ -359,15 +359,16 @@ postscript-$(PAPER)-$(RELEASE).zip: ps paper-$(PAPER)/README
rm -f $@ rm -f $@
cd paper-$(PAPER) && zip -q -9 ../$@ *.ps README cd paper-$(PAPER) && zip -q -9 ../$@ *.ps README
html-$(RELEASE).tgz: html html-$(RELEASE).tar: html
cd $(HTMLDIR) && \ cd $(HTMLDIR) && \
tar cf - *.html */*.css */*.html */*.gif */*.txt \ tar cf ../html-$(RELEASE).tar *.html */*.css */*.html \
| gzip -9 >$@ */*.gif */*.txt
html-$(RELEASE).tar.bz2: html html-$(RELEASE).tgz: html-$(RELEASE).tar
cd $(HTMLDIR) && \ gzip -9 <html-$(RELEASE).tar >$@
tar cf - *.html */*.css */*.html */*.gif */*.txt \
| bzip2 -9 >$@ html-$(RELEASE).tar.bz2: html-$(RELEASE).tar
bzip2 -9 <html-$(RELEASE).tar >$@
html-$(RELEASE).zip: html html-$(RELEASE).zip: html
rm -f $@ rm -f $@
@ -415,10 +416,12 @@ distfiles: tarballs zips bzips
# - sources: .tex, .bib, .sty, *.cls # - sources: .tex, .bib, .sty, *.cls
# - useful results: .dvi, .pdf, .ps, .texi, .info # - useful results: .dvi, .pdf, .ps, .texi, .info
clean: clean:
rm -f html-$(RELEASE).tar
cd $(INFODIR) && $(MAKE) clean cd $(INFODIR) && $(MAKE) clean
# Remove temporaries as well as final products # Remove temporaries as well as final products
clobber: clobber:
rm -f html-$(RELEASE).tar
rm -f html-$(RELEASE).tgz info-$(RELEASE).tgz rm -f html-$(RELEASE).tgz info-$(RELEASE).tgz
rm -f pdf-$(RELEASE).tgz postscript-$(RELEASE).tgz rm -f pdf-$(RELEASE).tgz postscript-$(RELEASE).tgz
rm -f latex-$(RELEASE).tgz html-$(RELEASE).zip rm -f latex-$(RELEASE).tgz html-$(RELEASE).zip