Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f65aef

Browse files
committed
Revise the rules for building the distribution files for the HTML format.
These work again.
1 parent 0068e9c commit 8f65aef

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

Doc/Makefile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -359,15 +359,16 @@ postscript-$(PAPER)-$(RELEASE).zip: ps paper-$(PAPER)/README
359359
rm -f $@
360360
cd paper-$(PAPER) && zip -q -9 ../$@ *.ps README
361361

362-
html-$(RELEASE).tgz: html
362+
html-$(RELEASE).tar: html
363363
cd $(HTMLDIR) && \
364-
tar cf - *.html */*.css */*.html */*.gif */*.txt \
365-
| gzip -9 >$@
364+
tar cf ../html-$(RELEASE).tar *.html */*.css */*.html \
365+
*/*.gif */*.txt
366366

367-
html-$(RELEASE).tar.bz2: html
368-
cd $(HTMLDIR) && \
369-
tar cf - *.html */*.css */*.html */*.gif */*.txt \
370-
| bzip2 -9 >$@
367+
html-$(RELEASE).tgz: html-$(RELEASE).tar
368+
gzip -9 <html-$(RELEASE).tar >$@
369+
370+
html-$(RELEASE).tar.bz2: html-$(RELEASE).tar
371+
bzip2 -9 <html-$(RELEASE).tar >$@
371372

372373
html-$(RELEASE).zip: html
373374
rm -f $@
@@ -415,10 +416,12 @@ distfiles: tarballs zips bzips
415416
# - sources: .tex, .bib, .sty, *.cls
416417
# - useful results: .dvi, .pdf, .ps, .texi, .info
417418
clean:
419+
rm -f html-$(RELEASE).tar
418420
cd $(INFODIR) && $(MAKE) clean
419421

420422
# Remove temporaries as well as final products
421423
clobber:
424+
rm -f html-$(RELEASE).tar
422425
rm -f html-$(RELEASE).tgz info-$(RELEASE).tgz
423426
rm -f pdf-$(RELEASE).tgz postscript-$(RELEASE).tgz
424427
rm -f latex-$(RELEASE).tgz html-$(RELEASE).zip

0 commit comments

Comments
 (0)