mirror of https://github.com/CGAL/cgal
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# Makefile for CGAL's Interval Arithmetic package. [Sylvain Pion]
|
|
|
|
CVS_MODULE_NAME=Cartesian_basic
|
|
Package=Cartesian_basic
|
|
|
|
.PHONY: package test 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: clean $(Package).tar.gz
|
|
@echo "----------------------------------"
|
|
@echo "------------ Penser à: -----------"
|
|
@echo "----------------------------------"
|
|
@echo "---- changes.txt ----"
|
|
@echo "---- make Test ----"
|
|
@echo "---- make VERSION=x.x version ----"
|
|
@echo "---- make Commit ----"
|
|
@echo "---- make VERSION=x.x rtag ----"
|
|
@echo "---- make submit ----"
|
|
@echo "----------------------------------"
|
|
|
|
version:
|
|
echo "$(VERSION) (" `date +"%e %b %Y"` ")" > version
|
|
|
|
commit:
|
|
cvs commit
|
|
|
|
rtag:
|
|
cvs rtag v`echo $(VERSION) | sed -e "s/\./_/g"` $(CVS_MODULE_NAME)
|
|
|
|
submit: package
|
|
cp $(Package).tar.gz version description.txt changes.txt \
|
|
$(WWW_dir)
|
|
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 < $(TMP_file)
|
|
rm -f $(TMP_file)
|
|
|
|
clean:
|
|
rm -f $(Package).tar.gz
|
|
|
|
$(Package).tar.gz:
|
|
./check_headers.pl -u include/CGAL/*.[Ch]
|
|
./check_headers.pl -u include/CGAL/*/*.[Ch]
|
|
tar -zcvf $(Package).tar.gz \
|
|
--exclude=CVS --exclude=wrapper.tex --exclude=Makefile \
|
|
--exclude=TODO \
|
|
version maintainer \
|
|
long_description.txt description.txt changes.txt \
|
|
include
|
|
./check_headers.pl -u include/CGAL/*.[Ch]
|
|
./check_headers.pl -u include/CGAL/*/*.[Ch]
|