summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules17
1 files changed, 8 insertions, 9 deletions
diff --git a/debian/rules b/debian/rules
index d898d7aa..8527f82a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,15 +43,14 @@ COMMON_OPTIONS += \
CC=$(DEB_HOST_GNU_TYPE)-gcc-7 \
$(NULL)
-$(DBX_LIST):
- if [ -f ${DBX_HASHES} ]; then \
- set -e; \
- for HASH in $$(grep -E [[:xdigit:]]{32} ${DBX_HASHES}); do \
- efisiglist -o $@ -a -h $$HASH; \
- done; \
- else \
- touch $@; \
- fi
+$(DBX_LIST): $(DBX_HASHES)
+ rm -f $@
+ set -e; \
+ for HASH in $$(grep -E [[:xdigit:]]{32} $<); do \
+ efisiglist -o $@ -a -h $$HASH; \
+ done
+ # Support an empty $(DBX_HASHES)
+ touch $@
%:
dh $@ --parallel