doc: Stop building and installing .ps and .dvi

Building info, pdf, and HTML is enough.

ps and dvi are not needed any more.
This commit is contained in:
Hans Ulrich Niedermann
2024-08-01 21:38:31 +02:00
parent 6bb8b521d3
commit 7ccd4bc7b8
3 changed files with 2 additions and 32 deletions

View File

@@ -86,7 +86,6 @@ fi
%doc %{_infodir}/*info*
%doc doc/avrdude-html/*.html
%doc doc/TODO
%doc doc/avrdude.ps
%doc doc/avrdude.pdf
%endif

View File

@@ -110,18 +110,6 @@ add_custom_command(
VERBATIM
)
add_custom_command(
OUTPUT avrdude.dvi
COMMAND ${MAKEINFO_EXECUTABLE}
--dvi
--Xopt=--quiet
--Xopt=--build-dir=dvi
-o avrdude.dvi
${TEXINFOS}
DEPENDS ${TEXINFOS} ${GENERATED_TEXINFOS}
VERBATIM
)
add_custom_command(
OUTPUT avrdude.pdf
COMMAND ${MAKEINFO_EXECUTABLE}
@@ -134,18 +122,6 @@ add_custom_command(
VERBATIM
)
add_custom_command(
OUTPUT avrdude.ps
COMMAND ${MAKEINFO_EXECUTABLE}
--ps
--Xopt=--quiet
--Xopt=--build-dir=ps
-o avrdude.ps
${TEXINFOS}
DEPENDS ${TEXINFOS} ${GENERATED_TEXINFOS}
VERBATIM
)
add_custom_command(
OUTPUT avrdude-html/avrdude.html
COMMAND ${TEXI2HTML_EXECUTABLE}
@@ -163,9 +139,7 @@ add_custom_command(
# =====================================
add_custom_target(info ALL DEPENDS avrdude.info)
add_custom_target(dvi ALL DEPENDS avrdude.dvi)
add_custom_target(pdf ALL DEPENDS avrdude.pdf)
add_custom_target(ps ALL DEPENDS avrdude.ps)
add_custom_target(html ALL DEPENDS avrdude-html/avrdude.html)
# =====================================
@@ -173,7 +147,5 @@ add_custom_target(html ALL DEPENDS avrdude-html/avrdude.html)
# =====================================
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/avrdude.info" DESTINATION ${CMAKE_INSTALL_INFODIR})
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/avrdude.dvi" DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/avrdude.pdf" DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/avrdude.ps" DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/avrdude-html" DESTINATION ${CMAKE_INSTALL_DOCDIR})

View File

@@ -31,7 +31,7 @@ info_TEXINFOS = avrdude.texi
EXTRA_DIST = \
parts_comments.txt
all-local: info html ps pdf
all-local: info html pdf
html: avrdude-html/avrdude.html
@@ -76,9 +76,8 @@ clean-local:
install-data-local: install-docs
install-docs: html ps pdf
install-docs: html pdf
$(mkinstalldirs) $(DOC_INST_DIR)
$(INSTALL_DATA) avrdude.ps $(DOC_INST_DIR)/avrdude.ps
$(INSTALL_DATA) avrdude.pdf $(DOC_INST_DIR)/avrdude.pdf
$(mkinstalldirs) $(DOC_INST_DIR)/avrdude-html
@list=`echo avrdude-html/*.html`; \