rempips: makefile stricter error checking

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-11-27 13:48:31 -08:00
parent 8385636ebb
commit 81c3582c17
1 changed files with 15 additions and 2 deletions

View File

@ -18,10 +18,23 @@ $(SPECIMENS_OK): todo.txt
todo.txt:
vivado -mode batch -source piplist.tcl
python3 maketodo.py | sort -R | head -n10 > todo.txt
python3 maketodo.py | sort -R | head -n10 > todo.txt.tmp
mv todo.txt.tmp todo.txt
# Conider moving to script
run:
+set -ex; while make clean; make todo.txt; test -s todo.txt; do if make database; then make pushdb; fi; done; true
\
+set -ex; \
while \
make clean; \
make todo.txt || exit 1; \
test -s todo.txt; \
do \
if make database; then \
make pushdb; \
fi; \
done; \
true
touch run.ok
clean: