summaryrefslogtreecommitdiff
path: root/scripts/dev
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev')
-rwxr-xr-xscripts/dev/snapshot7
-rwxr-xr-xscripts/dev/vcsclean7
2 files changed, 14 insertions, 0 deletions
diff --git a/scripts/dev/snapshot b/scripts/dev/snapshot
new file mode 100755
index 0000000000..f8e13ef9d9
--- /dev/null
+++ b/scripts/dev/snapshot
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+if test -n "$1"; then
+ flags="DISTNAME=$1"
+fi
+
+${MAKE:-make} $flags -f build/build.mk snapshot
diff --git a/scripts/dev/vcsclean b/scripts/dev/vcsclean
new file mode 100755
index 0000000000..fc7fc2f805
--- /dev/null
+++ b/scripts/dev/vcsclean
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+if test -d '.git' -o -f '.git'; then
+ ${MAKE:-make} -f build/build.mk gitclean-work
+else
+ echo "Can't figure out your VCS, not cleaning."
+fi