]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make sure that the file isn't empty
authorAlan T. DeKok <aland@freeradius.org>
Mon, 11 Mar 2019 19:31:08 +0000 (15:31 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 11 Mar 2019 19:31:08 +0000 (15:31 -0400)
otherwise Make will re-run the rules on every build

src/tests/auth/all.mk

index dbb4385e02aa8b313b1bb9c737bedb3250b7be08..70254ceb01c5f5b3516ee3fd189397823104b413 100644 (file)
@@ -36,6 +36,7 @@ AUTH_COPY      := $(subst $(DIR),$(BUILD_DIR)/tests/auth,$(AUTH_NEEDS))
 
 $(BUILD_DIR)/tests/auth/depends.mk: $(addprefix $(DIR)/,$(AUTH_FILES)) | $(BUILD_DIR)/tests/auth
        ${Q}rm -f $@
+       ${Q}touch $@
        ${Q}for x in $^; do \
                y=`grep 'PRE: ' $$x | sed 's/.*://;s/  / /g;s, , $(BUILD_DIR)/tests/auth/,g'`; \
                if [ "$$y" != "" ]; then \