summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2018-06-15 11:09:09 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2018-06-15 11:13:24 +0200
commit8758fbf4391d6bba02a7c71bffb6e25a9f139db2 (patch)
tree77a646b5a2b172cd1b8ff741a1b37cffe9d78ba5 /Makefile
parentf6bfb0e7b74059abf88eeb01415de3f96d5b59c6 (diff)
Makefile: don't hardcode the syntax stamps
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 581e5516b2..167ba8821e 100644
--- a/Makefile
+++ b/Makefile
@@ -42,9 +42,8 @@ clean:
test check: check-syntax
-check-syntax: stamps/CVE-syntax \
- stamps/DSA-syntax stamps/DTSA-syntax stamps/DLA-syntax
-
+SYNTAX_STAMPS = $(patsubst %,stamps/%-syntax,$(shell bin/check-syntax --get))
+check-syntax: $(SYNTAX_STAMPS)
stamps/%-syntax: data/%/list bin/check-syntax $(PYTHON_MODULES)
$(PYTHON) bin/check-syntax $* data/$*/list
touch $@

© 2014-2024 Faster IT GmbH | imprint | privacy policy