mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-21 10:41:37 +00:00
Improved "make manual" and "make clean"
This commit is contained in:
parent
fb186e6299
commit
4bd2d47e45
4 changed files with 13 additions and 9 deletions
|
@ -18,6 +18,6 @@ if false; then
|
|||
sed -i '/^label=/ d;' *.dot
|
||||
fi
|
||||
for dot_file in *.dot; do
|
||||
pdf_file=${dot_file#.dot}.pdf
|
||||
dot -Tpdf -o example_00.pdf example_00.dot
|
||||
pdf_file=${dot_file%.dot}.pdf
|
||||
dot -Tpdf -o $pdf_file $dot_file
|
||||
done
|
||||
|
|
|
@ -11,7 +11,7 @@ do
|
|||
fi
|
||||
old_md5=$([ -f $job.aux ] && md5sum < $job.aux || true)
|
||||
while
|
||||
pdflatex -shell-escape -halt-on-error $job.tex
|
||||
pdflatex -shell-escape -halt-on-error $job.tex || exit
|
||||
new_md5=$(md5sum < $job.aux)
|
||||
[ "$old_md5" != "$new_md5" ]
|
||||
do
|
||||
|
|
2
manual/clean.sh
Executable file
2
manual/clean.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
for f in $( find -name .gitignore ); do sed -re "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs -r rm -vf,;" $f; done | bash -v
|
Loading…
Add table
Add a link
Reference in a new issue