[pve-devel] [PATCH docs] buildsys: allow missing pve-doc-generator.mk on build/clean

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Sep 13 09:40:55 CEST 2018


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 at proxmox.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 000e762..bbbdc32 100644
--- 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			\
-- 
2.18.0




More information about the pve-devel mailing list