From 1d4908d46463abd327e5dbe0d3b6ae0ca8decf67 Mon Sep 17 00:00:00 2001 From: vince Date: Thu, 27 Jan 2022 21:36:10 +0100 Subject: [PATCH] finalement remet le phony --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc9060d..d692005 100644 --- a/Makefile +++ b/Makefile @@ -262,8 +262,15 @@ $(BUILD_DIR)/disk-monthly$(EXTENSION): disk.rrd AREA:bfsfree#$(SUCCESS):"libre":STACK \ GPRINT:pfsused2:"%4.0lf %So" -$(BUILD_DIR)/%.html: %.php + + +.PHONY: $(BUILD_DIR)/index.html + +$(BUILD_DIR)/index.html: index.php php $< >$@ +# $(BUILD_DIR)/%.html: %.php +# php $< >$@ + graph: $(BUILD_DIR)/cpu-daily$(EXTENSION) $(BUILD_DIR)/load-daily$(EXTENSION) $(BUILD_DIR)/mem-daily$(EXTENSION) $(BUILD_DIR)/net-daily$(EXTENSION) $(BUILD_DIR)/net-weekly$(EXTENSION) $(BUILD_DIR)/net-monthly$(EXTENSION) $(BUILD_DIR)/disk-daily$(EXTENSION) $(BUILD_DIR)/disk-weekly$(EXTENSION) $(BUILD_DIR)/disk-monthly$(EXTENSION) $(BUILD_DIR)/index.html