summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README5
-rw-r--r--buildscripts/packager.py4
2 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 92bbbd7c9a6..c85c69e6cf2 100644
--- a/README
+++ b/README
@@ -41,6 +41,11 @@ DRIVERS
Client drivers for most programming languages are available at mongodb.org. Use the
shell ("mongo") for administrative tasks.
+PACKAGING
+
+ Packages are created dynamically by the package.py script located in the buildscripts directory. This will
+ generate RPM and Debian packages.
+
DOCUMENTATION
http://www.mongodb.org/
diff --git a/buildscripts/packager.py b/buildscripts/packager.py
index 36b8b809d76..5228229b241 100644
--- a/buildscripts/packager.py
+++ b/buildscripts/packager.py
@@ -25,6 +25,7 @@
#
# apt-get install dpkg-dev rpm debhelper fakeroot ia32-libs createrepo git-core
# echo "Now put the dist gnupg signing keys in ~root/.gnupg"
+#
import errno
import getopt
@@ -191,6 +192,9 @@ def parse_args(args):
if len(args) == 0:
print """Usage: packager.py [OPTS] SPEC1 SPEC2 ... SPECn
+Example:
+ packager.py 2.6.4
+
Options:
-n: Just build the packages, don't publish them as a repo