summaryrefslogtreecommitdiff
path: root/userguides/sanitycheck/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'userguides/sanitycheck/Makefile')
-rw-r--r--userguides/sanitycheck/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/userguides/sanitycheck/Makefile b/userguides/sanitycheck/Makefile
new file mode 100644
index 00000000..44e7e464
--- /dev/null
+++ b/userguides/sanitycheck/Makefile
@@ -0,0 +1,15 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
+#
+
+default:
+ VER=`grep '<version' description.xml | sed -e 's/^.*value="//' -e 's/".*//'` ; \
+ rm -f dist/SanityCheck-$$VER.oxt ; \
+ zip -r dist/Sanitycheck-$$VER.oxt . -x '*.oxt' '.*.sw*' '*.xcf' '*.svg' 'Makefile'
+
+# vim: set noet: