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
commitb95b70eabb98e3e8690d7ffc56b68aaa3a852df9 (patch)
tree37cae4d62bc3a3a4dd14f795910c6746bab928bf /Makefile
parentf9362fecbe8020bd724b231206de17195c1a653c (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