Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill the two-phases doxygenification now that it's useless. Actually, don't kill...
[simgrid.git] / Makefile.am
1 SUBDIRS= include src tools examples testsuite doc
2 DISTCLEANFILES =  *~  
3
4 ACLOCAL = aclocal-1.9 -I acmacro
5 AUTOMAKE_OPTIONS = gnu
6 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
7
8 EXTRA_DIST = bootstrap COPYING INSTALL NEWS README README.IEEE TODO AUTHORS ChangeLog \
9         acmacro/aci.m4 \
10         tools/gras-check-arch   tools/graspe-slave.in \
11         tools/MSG_visualization tools/platform_generation \
12         tools/doxygen/index_create.pl
13
14 SOURCE_FILES = $(shell find . -name "*.[ch]")
15 TAGS: $(SOURCE_FILES)
16         @etags $(SOURCE_FILES)
17
18 tags: TAGS
19
20
21
22 if MAINTAINER_MODE
23 ##
24 ## The following is only interesting for me, I guess. 
25 ## Some of the targets will only work on my machine ;)
26 ##
27
28 release: distcheck remote debian publish
29
30 debian: dist
31         make -C ~/CVSIMPORT/pkg-grid/gras maintainerclean
32         cp @PACKAGE@-@VERSION@.tar.gz ~/CVSIMPORT/pkg-grid/gras/
33         cp @PACKAGE@-@VERSION@.tar.gz ~/CVSIMPORT/pkg-grid/gras/@PACKAGE@_@VERSION@.orig.tar.gz
34         make -C ~/CVSIMPORT/pkg-grid/gras deb check
35         dput local *.changes
36
37 publish-old: dist
38          @echo "----[ Put the documentation on the local filesystem ]----"
39          rm -rf ~/public_html/gras/doc
40          mkdir ~/public_html/gras/doc
41          cp -r doc/html ~/public_html/gras/doc
42          @echo "----[ Put the tarball @VERSION@ on the local filesystem ]----"
43          cp @PACKAGE@-@VERSION@.tar.gz ~/public_html/gras/dl
44          @echo "----[ Sync remote host ]----"
45          make -C public_html publish
46
47 publish: dist
48          @echo "----[ Put the tarball @VERSION@ on gcl ]----"
49          scp @PACKAGE@-@VERSION@.tar.gz gcl.ucsd.edu:/home/www/simgrid/dl/
50          scp -r doc/html/* gcl.ucsd.edu:/home/www/simgrid/
51          scp -r doc/html/* scm.gforge.inria.fr:/var/lib/gforge/chroot/home/groups/simgrid/htdocs/
52          scp ChangeLog gcl.ucsd.edu:/home/www/simgrid/dl/ChangeLog
53          @echo "----[ Put the tarball @VERSION@ on the local filesystem ]----"
54          cp @PACKAGE@-@VERSION@.tar.gz ~/public_html/simgrid2
55          cp -r doc/html ~/public_html/simgrid2/doc/
56          cp ChangeLog ~/public_html/simgrid2/
57          make -C ~/public_html
58
59 mail:
60          @ver=`dpkg-parsechangelog -lChangeLog | egrep '^Version: ' | sed 's/Version: //'`;\
61           (echo "Hello," ; \
62            echo; \
63            echo "A new version of SimGrid is available. Here is the changelog:";\
64            echo;echo;\
65            dpkg-parsechangelog -lChangeLog ;\
66            echo;echo; \
67            echo "It is available from the official website:";\
68            echo "  http://grail.sdsc.edu/simgrid/";\
69            echo;echo "Cheers, the SimGrid team.") | \
70           mail -e \
71                -a "From: Arnaud.Legrand@imag.fr" \
72                -s "New version of GRAS ($$ver)" \
73                simgrid2-users@listes.ens-lyon.fr
74
75 splint:
76         splint `make dist-files | grep -v $(PWD) | egrep '\.[ch]$$' |sort -u` \
77                +matchanyintegral -warnposix +boolint \
78                +show-summary +stats\
79                -Iinclude -Isrc/include -Isrc/base -Isrc
80 .PHONY: splint
81 ##
82 ## Cruft for remote compilation
83 ##
84
85 remote: 
86         @tools/graspe-master
87
88 endif
89
90 include $(top_srcdir)/acmacro/dist-files.mk