SVN r1777 causes get_tooltips_object() to return a NULL pointer for the meta panel...
[synfig.git] / autobuild / trunk / Makefile
blobc0f2f6d8a2deb146622be215242eb020df8793a7
2 VERSION=0.61.03
4 COREDIR=synfig-core
5 STUDIODIR=synfig-studio
6 ETLDIR=etl
8 OUTPUTDIR=output
10 SRCPKG=Synfig.mpkg
11 OUTPKG=$(OUTPUTDIR)/Synfig-$(VERSION).mpkg
12 PKGDIR=$(OUTPKG)/Contents/Packages
14 SSH_USER=darco@www.bridgetone.com
15 SSH_DIR=~/voria/files
17 all: src osx package
19 publish:
20 cd $(OUTPUTDIR) && tar c *.gz *.zip *.exe *.bz2 | ssh $(SSH_USER) "cd $(SSH_DIR) && tar xv"
22 osx-pkg:
23 rm -fr $(OUTPKG)
24 rm -fr $(OUTPKG).zip
25 cp -R $(SRCPKG) $(OUTPKG)
26 cp -r $(OUTPUTDIR)/*.pkg $(PKGDIR)
27 cd $(OUTPUTDIR) && zip -r Synfig-$(VERSION).mpkg.zip *.mpkg
29 core-osx:
30 [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
31 rm -fr $(COREDIR)
32 svn export https://svn.voria.com/code/synfig-core/trunk $(COREDIR) || exit 2
33 cd $(COREDIR) && ./macosxbuild.sh
34 cp -r $(COREDIR)/macosxbuild/*.pkg $(OUTPUTDIR)
36 studio-osx:
37 [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
38 rm -fr $(STUDIODIR)
39 svn export https://svn.voria.com/code/synfig-studio/trunk $(STUDIODIR) || exit 2
40 cd $(STUDIODIR) && ./macosxbuild.sh
41 cp -r $(STUDIODIR)/macosxbuild/*.pkg $(OUTPUTDIR)
43 core-w32:
44 [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
45 rm -fr $(COREDIR)
46 svn export https://svn.voria.com/code/synfig-core/trunk $(COREDIR) || exit 2
47 cd $(COREDIR) && ./win32build.sh
48 cp -r $(COREDIR)/win32build/*.exe $(OUTPUTDIR)
50 studio-w32:
51 [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
52 rm -fr $(STUDIODIR)
53 svn export https://svn.voria.com/code/synfig-studio/trunk $(STUDIODIR) || exit 2
54 cd $(STUDIODIR) && ./win32build.sh
55 cp -r $(STUDIODIR)/win32build/*.exe $(OUTPUTDIR)
57 core-src:
58 [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
59 rm -fr $(COREDIR)
60 svn export https://svn.voria.com/code/synfig-core/trunk $(COREDIR) || exit 2
61 cd $(COREDIR) && libtoolize --ltdl --copy --force && autoreconf --force --install && ./configure
62 make -C $(COREDIR) dist
63 cp -r $(COREDIR)/*.gz $(OUTPUTDIR)
65 studio-src:
66 [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
67 rm -fr $(STUDIODIR)
68 svn export https://svn.voria.com/code/synfig-studio/trunk $(STUDIODIR) || exit 2
69 cd $(STUDIODIR) && autoreconf --force --install && ./configure
70 make -C $(STUDIODIR) dist
71 cp -r $(STUDIODIR)/*.gz $(OUTPUTDIR)
73 etl-src:
74 [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
75 rm -fr $(ETLDIR)
76 svn export https://svn.voria.com/code/ETL/trunk $(ETLDIR) || exit 2
77 cd $(ETLDIR) && autoreconf --force --install && ./configure
78 make -C $(ETLDIR) dist
79 cp -r $(ETLDIR)/*.gz $(OUTPUTDIR)
81 src: etl-src core-src studio-src
83 osx: core-osx studio-osx
85 w32: core-w32 studio-w32
87 clean:
88 rm -fr $(COREDIR)
89 rm -fr $(STUDIODIR)
90 rm -fr $(ETLDIR)
91 rm -fr $(OUTPUTDIR)