1 SUBDIRS= include src tools testsuite examples doc
4 ACLOCAL = aclocal-1.9 -I acmacro
6 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
8 EXTRA_DIST = bootstrap COPYING INSTALL NEWS README README.IEEE TODO AUTHORS ChangeLog \
10 tools/graspe-slave.in \
11 tools/MSG_visualization tools/platform_generation
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 --copy-links --verbose --archive --cvs-exclude --compress --delete \
60 --delete-excluded --rsh=ssh -I \
61 doc/html/ scm.gforge.inria.fr:/var/lib/gforge/chroot/home/groups/simgrid/htdocs/doc/
62 ssh scm.gforge.inria.fr "chgrp -R simgrid /var/lib/gforge/chroot/home/groups/simgrid/htdocs/"
63 ssh scm.gforge.inria.fr "chmod g+rw -R /var/lib/gforge/chroot/home/groups/simgrid/htdocs/"
66 @ver=`dpkg-parsechangelog -lChangeLog | egrep '^Version: ' | sed 's/Version: //'`;\
69 echo "A new version of SimGrid is available. Here is the changelog:";\
71 dpkg-parsechangelog -lChangeLog ;\
73 echo "It is available from the official website:";\
74 echo " http://simgrid.gforge.inria.fr";\
75 echo;echo "Cheers, the SimGrid team.") | \
77 -a "From: Arnaud.Legrand@imag.fr" \
78 -s "New version of SimGrid ($$ver)" \
79 simgrid-user@lists.gforge.inria.fr
82 splint `make dist-files | grep -v $(PWD) | egrep '\.[ch]$$' |sort -u` \
83 +matchanyintegral -warnposix +boolint \
85 -Iinclude -Isrc/include -Isrc/base -Isrc
86 .PHONY: splint sync-gforge
88 ## Cruft for remote compilation
92 @$(top_srcdir)/tools/graspe-master
96 include $(top_srcdir)/acmacro/dist-files.mk