Skip to content

Commit 9766228

Browse files
committed
mk: avoid warnings for absent .depend.touch
1 parent 381225c commit 9766228

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

mk/fstar-12.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ DEPSTEM := $(CACHE_DIR)/.depend$(TAG)
8181
$(DEPSTEM).touch: .force
8282
mkdir -p $(dir $@)
8383
find $(SRC) -name '*.fst*' > $@.chk
84-
diff -q $@ $@.chk || cp $@.chk $@
84+
diff -q $@ $@.chk 2>/dev/null || cp $@.chk $@
8585

8686
$(DEPSTEM): $(DEPSTEM).touch
8787
$(call msg, "DEPEND", $(SRC))

mk/lib.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ DEPSTEM := $(CACHE_DIR)/.depend$(TAG)
141141
$(DEPSTEM).touch: .force
142142
mkdir -p $(dir $@)
143143
find $(SRC) -name '*.fst*' > $@.chk
144-
diff -q $@ $@.chk || cp $@.chk $@
144+
diff -q $@ $@.chk 2>/dev/null || cp $@.chk $@
145145

146146
$(DEPSTEM): $(DEPSTEM).touch
147147
$(call msg, "DEPEND", $(SRC))

mk/plugins.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ DEPSTEM := $(CACHE_DIR)/.depend$(TAG)
125125
$(DEPSTEM).touch: .force
126126
mkdir -p $(dir $@)
127127
find $(SRC) -name '*.fst*' > $@.chk
128-
diff -q $@ $@.chk || cp $@.chk $@
128+
diff -q $@ $@.chk 2>/dev/null || cp $@.chk $@
129129

130130
$(DEPSTEM): $(DEPSTEM).touch
131131
$(call msg, "DEPEND", $(SRC))

0 commit comments

Comments
 (0)