diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-09-17 10:45:10 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-09-17 10:45:10 +0200 |
commit | 42c8ab28045e3819db2f1e0fbc3d02612018f680 (patch) | |
tree | cccd1ed0add4aaf45855583b504f083d724be877 /helpauthoring | |
parent | f644a87359d45fb78e6ef72f472afabb4f965f5c (diff) |
helpauthoring: Add a Makefile for 'make dist' and update README.
Change-Id: I58e17ff196793abf24346c100e06e78035ee1259
Diffstat (limited to 'helpauthoring')
-rw-r--r-- | helpauthoring/Makefile | 15 | ||||
-rw-r--r-- | helpauthoring/README | 6 |
2 files changed, 19 insertions, 2 deletions
diff --git a/helpauthoring/Makefile b/helpauthoring/Makefile new file mode 100644 index 00000000..116e2ea8 --- /dev/null +++ b/helpauthoring/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 http://mozilla.org/MPL/2.0/. +# + +dist: + VER=`grep '<version' description.xml | sed -e 's/^.*value="//' -e 's/".*//'` ; \ + rm -f HelpAuthoring-$$VER.oxt ; \ + zip -r HelpAuthoring-$$VER.oxt . -x '*.oxt' '.*.sw*' '*.xcf' '*.svg' 'Makefile' + +# vim: set noet: diff --git a/helpauthoring/README b/helpauthoring/README index 00dac065..8cab6b89 100644 --- a/helpauthoring/README +++ b/helpauthoring/README @@ -37,9 +37,11 @@ Increase the version number both in: and then: - cd helpauthoring && zip -r ~/HelpAuthoring-3.x.y.oxt . + cd helpauthoring && make dist -and upload to: +The new version will be created in the helpauthoring/ directory. + +Upload it to: http://dev-www.libreoffice.org/helpauthoring/ |