diff options
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | src/Makefile | 1 | ||||
-rw-r--r-- | src/flock.mk.in | 22 | ||||
-rw-r--r-- | src/mozclient/flock.conf | 27 |
5 files changed, 54 insertions, 3 deletions
@@ -27,6 +27,7 @@ The package contains rules for the following projects: - xulrunner-1.9.1 - xulrunner-2.0 - prism + - flock In addition there is a xpi.mk which provides standard rules/targets to package XPI extensions for mozilla/toolkit based applications. diff --git a/debian/changelog b/debian/changelog index 5e2e898..7fe75d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -35,9 +35,9 @@ mozilla-devscripts (0.09) UNRELEASED; urgency=low + add support for svn - add src/mozclient/lib/MozClient/Subversion.pm - update src/mozclient.pl - + add a project from Prism using svn - - add src/mozclient/prism.conf - - add src/prism.mk.in + + add projects for Prism and Flock using svn + - add src/mozclient/{prism,flock}.conf + - add src/{prism,flock}.mk.in - update src/Makefile - update README + use an absolute path for remove.binonly.sh as with --conf-dir it could diff --git a/src/Makefile b/src/Makefile index 593b5b9..61a2b88 100644 --- a/src/Makefile +++ b/src/Makefile @@ -36,6 +36,7 @@ subst_files = \ xulrunner-1.9.1.mk \ xulrunner-2.0.mk \ prism.mk \ + flock.mk \ mozclient.mk \ compare.mk \ minefield-packager.mk \ diff --git a/src/flock.mk.in b/src/flock.mk.in new file mode 100644 index 0000000..d390104 --- /dev/null +++ b/src/flock.mk.in @@ -0,0 +1,22 @@ +# -*- mode: makefile; coding: utf-8 -*- + +# Copyright (c) 2008 Fabien Tassin <fta@sofaraway.org> +# Description: Project Flock +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +MOZCLIENT_PROJECTNAME := flock + +include mozclient.mk.in diff --git a/src/mozclient/flock.conf b/src/mozclient/flock.conf new file mode 100644 index 0000000..2f11c4e --- /dev/null +++ b/src/mozclient/flock.conf @@ -0,0 +1,27 @@ +# Copyright (c) 2008 Fabien Tassin <fta@sofaraway.org> +# Description: Project Flock +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +MOZCLIENT_APPNAME = flock +MOZCLIENT_PROJECT = flock/trunk/mozilla +MOZCLIENT_VCS = svn +MOZCLIENT_VCS_LOC = svn://svn-mirror.flock.com/master/ +MOZCLIENT_FILE = mozilla/flock/config/version.txt +MOZCLIENT_GETVERSION = sed -e 's/pre//; s/\([ab]\)\([0-9]*\)/~\1\2/' mozilla/flock/config/version.txt +MOZCLIENT_GETDATE = svn log --xml --limit 1 svn://svn-mirror.flock.com/master/flock/trunk/mozilla | grep -E '^( *revision=|<date>)' | tr -d '\n' | sed -e 's/.*"\([0-9]*\)".*>\(....\)-\(..\)-\(..\)T.*/\2\3\4r\1/' +MOZCLIENT_EMBEDDED = 1 +MOZCLIENT_WANTMOZDIR = 1 +MOZCLIENT_TAREXCLUDE = .svn CVS .cvsignore |