]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
make: fix date command on Darwin
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 29 Sep 2017 21:35:49 +0000 (23:35 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 29 Sep 2017 21:35:49 +0000 (23:35 +0200)
The -r has two different meanings, apparently :-D

daemon/daemon.mk

index 07e165370cd8914520695590d30c2ef2e4a64bc4..516cb40ee76f77655c5eb84b2214f4aaeb8f25fc 100644 (file)
@@ -49,7 +49,7 @@ endif
 $(eval $(call make_sbin,kresd,daemon,yes))
 
 # Targets
-date := $(shell date +%F -r NEWS)
+date := $(shell date -r NEWS +%F)
 daemon: $(kresd) $(kresd_DIST)
 daemon-install: kresd-install bindings-install
 ifneq ($(SED),)