1 SUBDIRS= include src tools testsuite examples doc
4 ACLOCAL = aclocal-1.9 -I acmacro
7 EXTRA_DIST = bootstrap COPYING INSTALL NEWS README README.IEEE TODO AUTHORS ChangeLog \
9 tools/graspe-slave.in \
10 tools/MSG_visualization \
11 tools/MSG_visualization/colorize.pl
13 SOURCE_FILES = $(shell find . -name "*.[ch]")
15 @etags $(SOURCE_FILES)
23 ## The following is only interesting for me, I guess.
24 ## Some of the targets will only work on my machine ;)
27 release: distcheck remote debian publish
30 make -C ~/CVSIMPORT/pkg-grid/gras maintainerclean
31 cp @PACKAGE@-@VERSION@.tar.gz ~/CVSIMPORT/pkg-grid/gras/
32 cp @PACKAGE@-@VERSION@.tar.gz ~/CVSIMPORT/pkg-grid/gras/@PACKAGE@_@VERSION@.orig.tar.gz
33 make -C ~/CVSIMPORT/pkg-grid/gras deb check
37 @echo "----[ Put the documentation on the local filesystem ]----"
38 rm -rf ~/public_html/gras/doc
39 mkdir ~/public_html/gras/doc
40 cp -r doc/html ~/public_html/gras/doc
41 @echo "----[ Put the tarball @VERSION@ on the local filesystem ]----"
42 cp @PACKAGE@-@VERSION@.tar.gz ~/public_html/gras/dl
43 @echo "----[ Sync remote host ]----"
44 make -C public_html publish
47 @echo "----[ Put the tarball @VERSION@ on gforge ]----"
48 # scp @PACKAGE@-@VERSION@.tar.gz gcl.ucsd.edu:/home/www/simgrid/dl/
49 # scp -r doc/html/* gcl.ucsd.edu:/home/www/simgrid/
50 # scp -r doc/html/* scm.gforge.inria.fr:/var/lib/gforge/chroot/home/groups/simgrid/htdocs/
51 scp ChangeLog gcl.ucsd.edu:/home/www/simgrid/dl/ChangeLog
52 @echo "----[ Put the tarball @VERSION@ on the local filesystem ]----"
53 cp @PACKAGE@-@VERSION@.tar.gz ~/public_html/simgrid2
54 cp -r doc/html ~/public_html/simgrid2/doc/
55 cp ChangeLog ~/public_html/simgrid2/
59 rsync --verbose --cvs-exclude --compress --delete --delete-excluded --rsh=ssh --ignore-times \
60 --recursive --links --perms --times --omit-dir-times \
61 doc/html/ scm.gforge.inria.fr:/var/lib/gforge/chroot/home/groups/simgrid/htdocs/doc/ || true
62 scp doc/index.php scm.gforge.inria.fr:/var/lib/gforge/chroot/home/groups/simgrid/htdocs/
63 scp doc/simgrid_modules.png doc/simgrid_logo.png doc/simgrid_logo_small.png scm.gforge.inria.fr:/var/lib/gforge/chroot/home/groups/simgrid/htdocs/
64 ssh scm.gforge.inria.fr "chgrp -R simgrid /var/lib/gforge/chroot/home/groups/simgrid/htdocs/"
65 ssh scm.gforge.inria.fr "chmod g+rw -R /var/lib/gforge/chroot/home/groups/simgrid/htdocs/* || true"
68 @ver=`dpkg-parsechangelog -lChangeLog | egrep '^Version: ' | sed 's/Version: //'`;\
71 echo "A new version of SimGrid is available. Here is the changelog:";\
73 dpkg-parsechangelog -lChangeLog ;\
75 echo "It is available from the official website:";\
76 echo " http://simgrid.gforge.inria.fr";\
77 echo;echo "Cheers, the SimGrid team.") | \
79 -a "From: Arnaud.Legrand@imag.fr" \
80 -s "New version of SimGrid ($$ver)" \
81 simgrid-user@lists.gforge.inria.fr
84 splint `make dist-files | grep -v $(PWD) | egrep '\.[ch]$$' |sort -u` \
85 +matchanyintegral -warnposix +boolint \
87 -Iinclude -Isrc/include -Isrc/base -Isrc
88 .PHONY: splint sync-gforge
90 ## Cruft for remote compilation
94 @$(top_srcdir)/tools/graspe-master
98 include $(top_srcdir)/acmacro/dist-files.mk