initial version
authordarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 9 Dec 2005 01:02:03 +0000 (01:02 +0000)
committerdarco <darco@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 9 Dec 2005 01:02:03 +0000 (01:02 +0000)
git-svn-id: http://svn.voria.com/code@97 1f10aa63-cdf2-0310-b900-c93c546f37ac

autobuild/trunk/Makefile [new file with mode: 0644]

diff --git a/autobuild/trunk/Makefile b/autobuild/trunk/Makefile
new file mode 100644 (file)
index 0000000..4a4802e
--- /dev/null
@@ -0,0 +1,67 @@
+
+VERSION=0.61.03
+
+COREDIR=synfig-core
+STUDIODIR=synfig-studio
+
+OUTPUTDIR=output
+
+SRCPKG=Synfig.mpkg
+OUTPKG=$(OUTPUTDIR)/Synfig-$(VERSION).mpkg
+PKGDIR=$(OUTPKG)/Contents/Packages
+
+SSH_USER=darco@www.bridgetone.com
+SSH_DIR=~/voria/files
+
+all: src osx package
+
+publish:
+       cd $(OUTPUTDIR) && tar c *.gz *.zip *.bz2 | ssh $(SSH_USER) "cd $(SSH_DIR) && tar xv" 
+
+osx-pkg:
+       rm -fr $(OUTPKG)
+       rm -fr $(OUTPKG).zip
+       cp -R $(SRCPKG) $(OUTPKG)
+       cp -r $(OUTPUTDIR)/*.pkg $(PKGDIR)
+       cd $(OUTPUTDIR) && zip -r Synfig-$(VERSION).mpkg.zip *.mpkg
+       
+core-osx:
+       [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
+       rm -fr $(COREDIR)
+       svn export https://svn.voria.com/code/synfig-core/trunk $(COREDIR) || exit 2
+       cd $(COREDIR) && ./macosxbuild.sh
+       cp -r $(COREDIR)/macosxbuild/*.pkg $(OUTPUTDIR)
+
+studio-osx:
+       [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
+       rm -fr $(STUDIODIR)
+       svn export https://svn.voria.com/code/synfig-studio/trunk $(STUDIODIR) || exit 2
+       cd $(STUDIODIR) && ./macosxbuild.sh
+       cp -r $(STUDIODIR)/macosxbuild/*.pkg $(OUTPUTDIR)
+
+core-src:
+       [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
+       rm -fr $(COREDIR)
+       svn export https://svn.voria.com/code/synfig-core/trunk $(COREDIR) || exit 2
+       cd $(COREDIR) && ./bootstrap && ./configure
+       make -C $(COREDIR) dist
+       cp -r $(COREDIR)/*.gz $(OUTPUTDIR)
+
+studio-src:
+       [ -d $(OUTPUTDIR) ] || mkdir $(OUTPUTDIR)
+       rm -fr $(STUDIODIR)
+       svn export https://svn.voria.com/code/synfig-studio/trunk $(STUDIODIR) || exit 2
+       cd $(STUDIODIR) && ./bootstrap && ./configure
+       make -C $(STUDIODIR) dist
+       cp -r $(STUDIODIR)/*.gz $(OUTPUTDIR)
+
+src: core-src studio-src
+
+osx: core-osx studio-osx
+
+
+clean:
+       rm -fr $(COREDIR)
+       rm -fr $(STUDIODIR)
+       rm -fr $(OUTPUTDIR)
+