Merge branch 'master' of https://github.com/cliffordwolf/yosys into btor

This commit is contained in:
Ahmed Irfan 2014-02-11 13:26:43 +01:00
commit 1a2dc48c2a
4 changed files with 14 additions and 9 deletions

View File

@ -146,15 +146,17 @@ install: $(TARGETS) $(EXTRA_TARGETS)
$(INSTALL_SUDO) mkdir -p $(DESTDIR)/share/yosys $(INSTALL_SUDO) mkdir -p $(DESTDIR)/share/yosys
$(INSTALL_SUDO) cp -r share/. $(DESTDIR)/share/yosys/. $(INSTALL_SUDO) cp -r share/. $(DESTDIR)/share/yosys/.
manual: manual: $(TARGETS) $(EXTRA_TARGETS)
cd manual && bash appnotes.sh
cd manual && bash presentation.sh
cd manual && bash manual.sh cd manual && bash manual.sh
clean: clean:
rm -rf share rm -rvf share
rm -f $(OBJS) $(GENFILES) $(TARGETS) cd manual && bash clean.sh
rm -f kernel/version_*.o kernel/version_*.cc abc/abc-[0-9a-f]* rm -vf $(OBJS) $(GENFILES) $(TARGETS) $(EXTRA_TARGETS)
rm -f libs/*/*.d frontends/*/*.d passes/*/*.d backends/*/*.d kernel/*.d rm -vf kernel/version_*.o kernel/version_*.cc abc/abc-[0-9a-f]*
cd manual && rm -f *.aux *.bbl *.blg *.idx *.log *.out *.pdf *.toc *.ok rm -vf libs/*/*.d frontends/*/*.d passes/*/*.d backends/*/*.d kernel/*.d techlibs/*/*.d
test ! -f libs/svgviewer/Makefile || make -C libs/svgviewer distclean test ! -f libs/svgviewer/Makefile || make -C libs/svgviewer distclean
mrproper: clean mrproper: clean
@ -191,6 +193,7 @@ config-sudo:
-include passes/*/*.d -include passes/*/*.d
-include backends/*/*.d -include backends/*/*.d
-include kernel/*.d -include kernel/*.d
-include techlibs/*/*.d
.PHONY: all top-all abc test install install-abc manual clean mrproper qtcreator .PHONY: all top-all abc test install install-abc manual clean mrproper qtcreator
.PHONY: config-clean config-clang-debug config-gcc-debug config-release .PHONY: config-clean config-clang-debug config-gcc-debug config-release

View File

@ -18,6 +18,6 @@ if false; then
sed -i '/^label=/ d;' *.dot sed -i '/^label=/ d;' *.dot
fi fi
for dot_file in *.dot; do for dot_file in *.dot; do
pdf_file=${dot_file#.dot}.pdf pdf_file=${dot_file%.dot}.pdf
dot -Tpdf -o example_00.pdf example_00.dot dot -Tpdf -o $pdf_file $dot_file
done done

View File

@ -11,7 +11,7 @@ do
fi fi
old_md5=$([ -f $job.aux ] && md5sum < $job.aux || true) old_md5=$([ -f $job.aux ] && md5sum < $job.aux || true)
while while
pdflatex -shell-escape -halt-on-error $job.tex pdflatex -shell-escape -halt-on-error $job.tex || exit
new_md5=$(md5sum < $job.aux) new_md5=$(md5sum < $job.aux)
[ "$old_md5" != "$new_md5" ] [ "$old_md5" != "$new_md5" ]
do do

2
manual/clean.sh Executable file
View 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