File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ CUT ?= cut
1919TR ?= tr
2020TEXI2PDF ?= texi2pdf -q
2121MAKEINFO ?= makeinfo
22+ MAKEINFO_HTML_OPTIONS := --no-headers --set-customization-variable 'COPIABLE_LINKS 0' --set-customization-variable 'COPIABLE_ANCHORS 0' --no-split
2223
2324# work out a possible help generator
2425ifeq ($(strip $(QHELPGENERATOR ) ) ,)
@@ -289,12 +290,16 @@ doc/functions.texi: $(release_dir_dep)
289290 cd doc && ./mkfuncdocs.py --allowscan --src-dir=../inst/ --src-dir=../src/ ../INDEX | $(SED ) ' s/@seealso/@xseealso/g' > functions.texi
290291
291292doc/$(packageprefix )$(package ) .html : doc/$(packageprefix )$(package ) .texi doc/functions.texi doc/version.texi
292- cd doc && SOURCE_DATE_EPOCH=$(REPO_TIMESTAMP ) $(MAKEINFO ) --html --css-ref=$(packageprefix )$(package ) .css --no-split --output=$(packageprefix ) ${package} .html $(packageprefix )$(package ) .texi
293+ cd doc && SOURCE_DATE_EPOCH=$(REPO_TIMESTAMP ) $(MAKEINFO ) --html --css-ref=$(packageprefix )$(package ) .css $( MAKEINFO_HTML_OPTIONS ) --output=$(packageprefix ) ${package} .html $(packageprefix )$(package ) .texi
293294
294295doc/$(packageprefix )$(package ) .qhc : doc/$(packageprefix )$(package ) .html
296+ ifeq ($(QHELPGENERATOR ) ,true)
297+ $(warning No QHELPGENERATOR ... skipping QT doc build)
298+ else
295299 # try also create qch file if can
296300 cd doc && ./mkqhcp.py $(packageprefix)$(package) && $(QHELPGENERATOR) $(packageprefix)$(package).qhcp -o $(packageprefix)$(package).qhc
297301 cd doc && $(RM) -f $(packageprefix)$(package).qhcp $(packageprefix)$(package).qhp
302+ endif
298303# #
299304# # CLEAN
300305# #
You can’t perform that action at this time.
0 commit comments