diff --git a/Packages/Triangulation_3/Makefile b/Packages/Triangulation_3/Makefile new file mode 100644 index 00000000000..a89dcbe437b --- /dev/null +++ b/Packages/Triangulation_3/Makefile @@ -0,0 +1,62 @@ +# Makefile for CGAL's Interval Arithmetic package. [Sylvain Pion] + +CVS_MODULE_NAME=tet +Package=Triangulation3 + +.PHONY: doc package filters test example submit version rtag + +WWW_base=/u/www/0/www/htdocs/files/equipes/prisme/CGAL/DR:/Members +WWW_dir=$(WWW_base)/$(Package) +TMP_file=/tmp/submit-mail + +package: doc filters example clean $(Package).tar.gz + @echo "-----------------------------------" + @echo "------------ Penser à: ------------" + @echo "-----------------------------------" + @echo "---- changes.txt ----" + @echo "---- make test ----" + @echo "---- make VERSION=4.11 version ----" + @echo "---- cvs commit ----" + @echo "---- make VERSION=4.11 rtag ----" + @echo "---- make package ----" + @echo "---- make submit ----" + @echo "-----------------------------------" + +version: + echo "$(VERSION) (`date '+%e %b %Y'`)" > version + +rtag: + cvs rtag v`echo $(VERSION) | sed -e "s/\./_/g"` $(CVS_MODULE_NAME) + +submit: package + cp $(Package).tar.gz doc_ps/$(Package).ps version description.txt \ + $(WWW_dir) + rm -f $(WWW_dir)/$(Package).ps.gz + gzip -9 $(WWW_dir)/$(Package).ps + echo > $(TMP_file) + echo "submission::" >> $(TMP_file) + echo "http://www-sop.inria.fr/prisme/CGAL/DR:/Members" >> $(TMP_file) + echo "/$(Package)/$(Package).tar.gz" >> $(TMP_file) + mail -s autohandle cgal-submit@cs.uu.nl teillaud < $(TMP_file) + rm -f $(TMP_file) + +test: + $(MAKE) -C test/$(Package) + +clean: + $(MAKE) -C doc_tex/basic/Triangulation3 clean + $(MAKE) -C test/$(Package) clean + rm -f $(Package).tar.gz + +$(Package).tar.gz: + tar -zcvf $(Package).tar.gz \ + --exclude=CVS --exclude=wrapper.tex --exclude=Makefile \ + --exclude=TODO \ + version description.txt changes.txt \ + src demo include doc_tex doc_ps test examples + +doc: doc_ps/$(Package).ps + +doc_ps/$(Package).ps: + $(MAKE) -C doc_tex/basic/Triangulation3 + cp doc_tex/basic/Triangulation3/$(Package).ps doc_ps/ diff --git a/Packages/Triangulation_3/doc_tex/Triangulation_3/Makefile b/Packages/Triangulation_3/doc_tex/Triangulation_3/Makefile new file mode 100644 index 00000000000..d63b539f8cd --- /dev/null +++ b/Packages/Triangulation_3/doc_tex/Triangulation_3/Makefile @@ -0,0 +1,19 @@ +.PHONY: dvi ps + +ps: Triangulation3.ps + +Triangulation3.ps: dvi + dvips -o Triangulation3.ps wrapper.dvi + +dvi: wrapper.dvi + +wrapper.dvi: *.tex *.eps + latex wrapper.tex + bibtex wrapper + latex wrapper.tex + latex wrapper.tex + +all: Triangulation3.ps + +clean: + rm -f *.aux *.log *.dvi *.ps *.blg *.bbl *.toc diff --git a/Packages/Triangulation_3/doc_tex/basic/Triangulation_3/Makefile b/Packages/Triangulation_3/doc_tex/basic/Triangulation_3/Makefile new file mode 100644 index 00000000000..d63b539f8cd --- /dev/null +++ b/Packages/Triangulation_3/doc_tex/basic/Triangulation_3/Makefile @@ -0,0 +1,19 @@ +.PHONY: dvi ps + +ps: Triangulation3.ps + +Triangulation3.ps: dvi + dvips -o Triangulation3.ps wrapper.dvi + +dvi: wrapper.dvi + +wrapper.dvi: *.tex *.eps + latex wrapper.tex + bibtex wrapper + latex wrapper.tex + latex wrapper.tex + +all: Triangulation3.ps + +clean: + rm -f *.aux *.log *.dvi *.ps *.blg *.bbl *.toc