Browse Source

Merge pull request #490 from citrus-it/touch

Use POSIX standard -c flag for "touch"
Kailash Nadh 3 years ago
parent
commit
0d8c0366d3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -34,7 +34,7 @@ $(STUFFBIN):
 
 
 $(FRONTEND_YARN_MODULES): frontend/package.json frontend/yarn.lock
 $(FRONTEND_YARN_MODULES): frontend/package.json frontend/yarn.lock
 	cd frontend && $(YARN) install
 	cd frontend && $(YARN) install
-	touch --no-create $(FRONTEND_YARN_MODULES)
+	touch -c $(FRONTEND_YARN_MODULES)
 
 
 # Build the backend to ./listmonk.
 # Build the backend to ./listmonk.
 $(BIN): $(shell find . -type f -name "*.go")
 $(BIN): $(shell find . -type f -name "*.go")
@@ -48,7 +48,7 @@ run:
 # Build the JS frontend into frontend/dist.
 # Build the JS frontend into frontend/dist.
 $(FRONTEND_DIST): $(FRONTEND_DEPS)
 $(FRONTEND_DIST): $(FRONTEND_DEPS)
 	export VUE_APP_VERSION="${VERSION}" && cd frontend && $(YARN) build
 	export VUE_APP_VERSION="${VERSION}" && cd frontend && $(YARN) build
-	touch --no-create $(FRONTEND_DIST)
+	touch -c $(FRONTEND_DIST)
 
 
 
 
 .PHONY: build-frontend
 .PHONY: build-frontend