summaryrefslogtreecommitdiff
path: root/src/mozclient.mk.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/mozclient.mk.in')
-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