Skip to content

Commit a920baa

Browse files
committed
packaging
1 parent eb4cd38 commit a920baa

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
README.md
2+
LICENSE.txt
3+
ChangeLog.txt
4+
5+
include/AR/*
6+
include/AR2/*
7+
include/KPM/*
8+
include/ARWrapper/*
9+
include/Eden/*
10+
include/ARUtil/*
11+
include/glStateCache.h
12+
include/glStateCache2.h
13+
include/win32-i386/*
14+
include/win64-x64/*
15+
16+
lib/win32-i386/*
17+
lib/win64-x64/*
18+
19+
share/artoolkit-utils/*
20+
21+
bin/check_id.exe
22+
bin/mk_patt.exe
23+
bin/genTexData.exe
24+
bin/dispImageSet.exe
25+
bin/dispFeatureSet.exe
26+
bin/checkResolution.exe
27+
bin/genMarkerSet.exe
28+
bin/simple.exe
29+
bin/ARosg.dll
30+
bin/ARvideo.dll
31+
bin/ARWrapper.dll
32+
33+
doc/*
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#! /bin/bash
2+
#
3+
# Find out where we are and change to ARToolKit5 root.
4+
#
5+
OURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6+
cd "${OURDIR}/../../"
7+
echo "Building archive from directory \"$PWD\"."
8+
#
9+
# Give the archive a sensible name.
10+
#
11+
OS=`uname -s`
12+
ARCH=`uname -m`
13+
14+
OS='OSX'
15+
ARCH='Universal'
16+
17+
VERSION=`sed -En -e 's/.*AR_HEADER_VERSION_STRING[[:space:]]+"([0-9]+\.[0-9]+(\.[0-9]+)*)".*/\1/p' include/AR/config.h.in`
18+
#
19+
# Build the archive.
20+
# Exclude: build files and directories, version control info,
21+
# ARToolKit settings files which don't carry over.
22+
#
23+
BOM="share/packaging/ARToolKit5-bin-bom-win32"
24+
PACKAGE_NAME="ARToolKit5-bin-${VERSION}-${OS}-${ARCH}.zip"
25+
26+
PACKAGE="../${PACKAGE_NAME}"
27+
28+
export PACKAGE_NAME
29+
30+
rm -f "$PACKAGE"
31+
zip -r -MM "$PACKAGE" . \
32+
-i@share/packaging/ARToolKit5-bin-bom-win32 \
33+
--exclude "*/.git/*" \
34+
--exclude "*/.DS_Store" \
35+
--exclude "*/.metadata/*" \
36+
--exclude "*/gen/*" \
37+
--exclude "*/objs/*" \
38+
--exclude "*/.exp/*" \

0 commit comments

Comments
 (0)