]> git.proxmox.com Git - pve-docs.git/commitdiff
buildsys: allow missing pve-doc-generator.mk on build/clean
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Sep 2018 07:40:55 +0000 (09:40 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 13 Sep 2018 07:54:12 +0000 (09:54 +0200)
Avoids the following warning when running initial building or
running make clean (initially, or twice):

> Makefile:38: pve-doc-generator.mk: No such file or directory

As we can do without this, simply tell make to ignore it if missing.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 000e7625652d412659523e20acda6e08d9da6723..bbbdc324998bdba7ba11d49ce108312ca6da7514 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ pve-doc-generator.mk: .pve-doc-depends pve-doc-generator.mk.in
        cat pve-doc-generator.mk.in .pve-doc-depends > $@.tmp
        mv $@.tmp $@
 
-include ./pve-doc-generator.mk
+-include ./pve-doc-generator.mk
 
 GEN_DEB_SOURCES=                               \
        pve-doc-generator.mk                    \