X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=Makefile;h=562e22e15b7a350ec1746ed83e5630a2d38fdbb6;hp=cf166fef78ae6fcd022b35162b6302e8d1f9d0b6;hb=aa99b34966c992c7a7bd9b403c2af5f9f0dedb67;hpb=4d19cb00e594e4037b06ce809db6b945bb71ac43 diff --git a/Makefile b/Makefile index cf166fe..562e22e 100644 --- a/Makefile +++ b/Makefile @@ -157,6 +157,14 @@ PVE_ADMIN_GUIDE_SOURCES= \ GFDL.adoc \ attributes.txt +link-refs.json: scan-adoc-refs ${PVE_ADMIN_GUIDE_SOURCES} + ./scan-adoc-refs ${PVE_ADMIN_GUIDE_SOURCES} >link-refs.json + +asciidoc-pve: asciidoc-pve.in link-refs.json + cat asciidoc-pve.in link-refs.json >asciidoc-pve.tmp + chmod +x asciidoc-pve.tmp + mv asciidoc-pve.tmp asciidoc-pve + WIKI_IMPORTS= \ section-pve-usbstick-plain.html \ section-getting-help-plain.html \ @@ -297,5 +305,5 @@ update: clean make all clean: - rm -rf *.tmp.xml *.html *.pdf *.epub *.tmp *.1 *.5 *.8 *.deb *.changes build api-viewer/apidoc.js chapter-*.html chapter-*-plain.html chapter-*.html pve-admin-guide.chunked + rm -rf *.tmp.xml *.html *.pdf *.epub *.tmp *.1 *.5 *.8 *.deb *.changes build api-viewer/apidoc.js chapter-*.html chapter-*-plain.html chapter-*.html pve-admin-guide.chunked asciidoc-pve link-refs.json find . -name '*~' -exec rm {} ';'