From 48e23984e8cf61e87ef71be80e87c0e366fe4199 Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Fri, 13 Apr 2018 16:30:26 -0400 Subject: [PATCH] avoid the need for .phony --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 90846d1a..61ebbff4 100644 --- a/makefile +++ b/makefile @@ -141,13 +141,13 @@ $(SRCPKG)\n\ --------------------\n\ weewx change history\n\ --------------------\n" -readme: docs/changes.txt +readme.txt: docs/changes.txt mkdir -p $(DSTDIR) rm -f $(DSTDIR)/README.txt echo $(README_HEADER) > $(DSTDIR)/README.txt pkg/mkchangelog.pl --ifile docs/changes.txt >> $(DSTDIR)/README.txt -upload-readme: readme +upload-readme: readme.txt scp $(DSTDIR)/README.txt $(USER)@$(WEEWX_COM):$(WEEWX_STAGING) # update the version in all relevant places