From 74f6ccaa7a3bfcd1a4c3952c211de5e6a54fbf01 Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Wed, 9 Mar 2016 14:03:51 +0100 Subject: [PATCH] posaune --- build/kivitendo-steckbrief.co | 22 ++++++++++++++++++++++ build/kivitendo-steckbrief.pre | 1 + build/kivitendo.co | 14 +++++++++++--- build/start-build | 2 +- 4 files changed, 35 insertions(+), 4 deletions(-) create mode 100755 build/kivitendo-steckbrief.co create mode 100644 build/kivitendo-steckbrief.pre diff --git a/build/kivitendo-steckbrief.co b/build/kivitendo-steckbrief.co new file mode 100755 index 000000000..3a7cf7d9b --- /dev/null +++ b/build/kivitendo-steckbrief.co @@ -0,0 +1,22 @@ +#!/bin/bash +set -e + +# parameter: $1: git tag to build + +../kivitendo.co $1 +if [ -d GF ] +then + pushd GF >/dev/null + svn up + popd >/dev/null +else + svn co https://wagnertech.de/svn/verwaltung/GF +fi + +pushd .. >/dev/null + ln -sf src/kivitendo-erp/doc/Steckbrief.tex . + ln -sf src/GF/wagner_tech_briefbogen_blau_fs1.pdf . + ln -sf kivitendo-steckbrief.pre make.pre + ln -sf projects/tools/tex/wallpaper.sty . + ln -s src/kivitendo-erp/image/Bildschirmfoto-kivitendo-steigmann-3.3.0-MozillaFirefox.png . +popd >/dev/null diff --git a/build/kivitendo-steckbrief.pre b/build/kivitendo-steckbrief.pre new file mode 100644 index 000000000..c9660ff01 --- /dev/null +++ b/build/kivitendo-steckbrief.pre @@ -0,0 +1 @@ +SOURCES = Steckbrief.pdf diff --git a/build/kivitendo.co b/build/kivitendo.co index d9d1bcd49..3d40317ba 100755 --- a/build/kivitendo.co +++ b/build/kivitendo.co @@ -2,6 +2,14 @@ set -e # parameter: $1: git tag to build -git clone https://github.com/wagner-tech/kivitendo-erp -cd kivitendo-erp -git checkout $1 + +if [ -d kivitendo-erp ] +then + pushd kivitendo-erp >/dev/null + git fetch +else + git clone https://github.com/wagner-tech/kivitendo-erp + pushd kivitendo-erp >/dev/null +fi + git checkout $1 +popd >/dev/null diff --git a/build/start-build b/build/start-build index d12dd59c4..a26548cf7 100755 --- a/build/start-build +++ b/build/start-build @@ -8,4 +8,4 @@ fi ln -sf projects/tools/make/configure . -echo "Nexr step: call 'configure '" +echo "Next step: call 'configure '" -- 2.20.1