mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-11-13 07:11:12 +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"
|
||||
@mv "$(TARGET_FILE).tmp" "$(TARGET_FILE)"
|
||||
|
||||
.PHONY: all
|
||||
all: $(TARGET_FILE)
|
||||
|
||||
.PHONY: clean-node
|
||||
clean-node:
|
||||
@echo "Removing $(TARGET_FILE)"
|
||||
@rm -f "$(TARGET_FILE)"
|
||||
|
||||
.PHONY: clean-tgz
|
||||
clean-tgz:
|
||||
@echo "Removing old releases"
|
||||
@rm -rf "$(DIST_DIR)"
|
||||
|
||||
.PHONY: clean
|
||||
clean: clean-node
|
||||
|
||||
.PHONY: clean-all
|
||||
clean-all: clean-node clean-tgz
|
||||
|
||||
.PHONY: tgz
|
||||
tgz: $(TGZ_FILE)
|
||||
|
||||
$(TGZ_FILE):
|
||||
|
|
Loading…
Reference in a new issue