summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabien Tassin <fta@sofaraway.org>2008-04-20 16:14:20 +0200
committerFabien Tassin <fta@sofaraway.org>2008-04-20 16:14:20 +0200
commit93c9b3f092087106350a969f3abc0afddd2d280d (patch)
treef414f6295ae6998d0b4dd0c534120b0484904585 /src
parent66973eb1e6673ef04f9611aeb768bc05dfaa7d6d (diff)
* [mozclient] add a variable called DEBIAN_KEEP_VCS to preserve the VCS files such as
*/CVS or .hg - update src/mozclient.mk.in - update README
Diffstat (limited to 'src')
-rw-r--r--src/mozclient.mk.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mozclient.mk.in b/src/mozclient.mk.in
index 2ace60f..bd3ca83 100644
--- a/src/mozclient.mk.in
+++ b/src/mozclient.mk.in
@@ -28,6 +28,9 @@
# or
# DEBIAN_TAG in the form CVS_TAG=debian_version
# ex: DEBIAN_TAG=FIREFOX_3_0b2_RC1=3.0~b2~rc1
+# Optionally:
+# DEBIAN_KEEP_VCS to preserve the VCS files (*/CVS, .hg, ...)
+# ex: DEBIAN_KEEP_VCS=1
# The following targets are available to the caller:
# - get-orig-source
@@ -92,13 +95,14 @@ MOZCLIENT_PATCHES := ../patches
MOZCLIENT_EXCLUDE_SCRIPT := ../../remove.binonly.sh
NOBINONLY := nobinonly
+TAR_EXCLUDE := $(NULL)
+ifeq (,$(DEBIAN_KEEP_VCS))
ifeq ($(MOZCLIENT_VCS),cvs)
TAR_EXCLUDE := --exclude=CVS --exclude=.cvsignore
else
ifeq ($(MOZCLIENT_VCS),hg)
TAR_EXCLUDE := --exclude=.hg
-else
-TAR_EXCLUDE := $(NULL)
+endif
endif
endif