mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2025-01-03 03:32:11 +01:00
Makefile: mark non-file targets as "PHONY"
This commit is contained in:
parent
e4ef4eccea
commit
215abe08ae
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -26,20 +26,26 @@ $(TARGET_FILE): plugins/* $(CONFIGURATION_FILE)
|
||||||
@chmod +x "$(TARGET_FILE).tmp"
|
@chmod +x "$(TARGET_FILE).tmp"
|
||||||
@mv "$(TARGET_FILE).tmp" "$(TARGET_FILE)"
|
@mv "$(TARGET_FILE).tmp" "$(TARGET_FILE)"
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
all: $(TARGET_FILE)
|
all: $(TARGET_FILE)
|
||||||
|
|
||||||
|
.PHONY: clean-node
|
||||||
clean-node:
|
clean-node:
|
||||||
@echo "Removing $(TARGET_FILE)"
|
@echo "Removing $(TARGET_FILE)"
|
||||||
@rm -f "$(TARGET_FILE)"
|
@rm -f "$(TARGET_FILE)"
|
||||||
|
|
||||||
|
.PHONY: clean-tgz
|
||||||
clean-tgz:
|
clean-tgz:
|
||||||
@echo "Removing old releases"
|
@echo "Removing old releases"
|
||||||
@rm -rf "$(DIST_DIR)"
|
@rm -rf "$(DIST_DIR)"
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean: clean-node
|
clean: clean-node
|
||||||
|
|
||||||
|
.PHONY: clean-all
|
||||||
clean-all: clean-node clean-tgz
|
clean-all: clean-node clean-tgz
|
||||||
|
|
||||||
|
.PHONY: tgz
|
||||||
tgz: $(TGZ_FILE)
|
tgz: $(TGZ_FILE)
|
||||||
|
|
||||||
$(TGZ_FILE):
|
$(TGZ_FILE):
|
||||||
|
|
Loading…
Reference in a new issue