diff options
author | Fabien Tassin <fta@ubuntu.com> | 2008-09-17 20:01:29 +0200 |
---|---|---|
committer | Fabien Tassin <fta@ubuntu.com> | 2008-09-17 20:01:29 +0200 |
commit | b8eae4e3bad5804dc60e764402f7d65f5624d88a (patch) | |
tree | f5ba7c2b7d0cc5cf237c62fed1e43721653669b8 /README | |
parent | 1ba1beff87b960a6810b6c1925afec5f459419d1 (diff) |
* [ mozclient ] add support for external project files helping adoption
of mozilla-devscripts by downstream. Introduce MOZCLIENT_PROJECTDIR.
- update README
- update src/mozclient.mk.in
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -49,6 +49,24 @@ To use : - in debian/control: add mozilla-devscripts to Build-Depends - in debian/rules: add "include /usr/share/mozilla-devscripts/yourproject.mk" +Note: it is also possible to keep all project files outside of mozilla-devscripts. +To do so, mozclient needs two variables: +- MOZCLIENT_PROJECTNAME: the name of the conf file as described below, without the + ".conf" extension +- MOZCLIENT_PROJECTDIR: a directory containing the project specific files to be used + by mozclient. It is not a recommended to use the debian directory directly because + there will be a confusion between debian/patches and $(MOZCLIENT_PROJECTDIR)/patches + +ex: + in debian/rules: + MOZCLIENT_PROJECTNAME = myproject + MOZCLIENT_PROJECTDIR = debian/mozclient + include /usr/share/mozilla-devscripts/mozclient.mk + in debian/mozclient: + - a mandatory file called myproject.conf + - an optional patches directory + - an optional myproject-remove.binonly.sh file + The following targets are then available to the caller of debian/rules: - get-orig-source Build a tarball according to parameters from project.mk |