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

Skip to content

Commit e7a8c97

Browse files
committed
Added support for the "Long HTML" version to the build/packaging
process.
1 parent c2c46c3 commit e7a8c97

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

Doc/Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RELEASE=1.6a2
6565
# These must be declared phony since there
6666
# are directories with matching names:
6767
.PHONY: api doc ext lib mac ref tut
68-
.PHONY: html info
68+
.PHONY: html info longhtml
6969

7070

7171
# Main target
@@ -196,6 +196,9 @@ htmlref:
196196
htmltut:
197197
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile tut)
198198

199+
longhtml:
200+
(cd longhtml; $(MAKE) PAPER=$(PAPER))
201+
199202

200203
# webchecker needs an extra flag to process the huge index from the libref
201204
webcheck:
@@ -260,6 +263,11 @@ html-$(RELEASE).zip: html
260263
(cd $(HTMLDIR); \
261264
zip -q -9 ../$@ *index.html ???/*.css ???/*.html */*.gif)
262265

266+
longhtml-$(RELEASE).zip: longhtml
267+
rm -f $@
268+
(cd longhtml; \
269+
zip -q -9 ../$@ */*.css */*.html */*.gif)
270+
263271
# convenience targets:
264272

265273
tarhtml: html-$(RELEASE).tgz
@@ -271,11 +279,12 @@ tarlatex: latex-$(RELEASE).tgz
271279
tarballs: tarpdf tarps tarhtml
272280

273281
ziphtml: html-$(RELEASE).zip
282+
ziplonghtml: longhtml-$(RELEASE).zip
274283
zipps: postscript-$(PAPER)-$(RELEASE).zip
275284
zippdf: pdf-$(PAPER)-$(RELEASE).zip
276285
ziplatex: latex-$(RELEASE).zip
277286

278-
zips: zippdf zipps ziphtml
287+
zips: zippdf zipps ziphtml ziplonghtml
279288

280289
bziphtml: html-$(RELEASE).tar.bz2
281290
bzipinfo: info-$(RELEASE).tar.bz2
@@ -296,6 +305,7 @@ distfiles: tarballs zips bzips
296305
# - useful results: .dvi, .pdf, .ps, .texi, .info
297306
clean:
298307
(cd paper-$(PAPER); $(MAKE) clean)
308+
(cd longhtml; $(MAKE) clean)
299309
(cd $(HTMLDIR); $(MAKE) clean)
300310
(cd $(INFODIR); $(MAKE) clean)
301311

@@ -310,6 +320,7 @@ clobber:
310320
rm -f latex-$(RELEASE).tgz html-$(RELEASE).zip
311321
rm -f pdf-$(RELEASE).zip postscript-$(RELEASE).zip
312322
(cd paper-$(PAPER); $(MAKE) clobber)
323+
(cd longhtml; $(MAKE) clobber)
313324
(cd $(HTMLDIR); $(MAKE) clobber)
314325
(cd $(INFODIR); $(MAKE) clobber)
315326

0 commit comments

Comments
 (0)