File: distribute.sh

package info (click to toggle)
libvsqlitepp 0.3.13-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 304 kB
  • ctags: 176
  • sloc: cpp: 765; makefile: 85; sh: 31
file content (19 lines) | stat: -rwxr-xr-x 615 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

DIST_VERSION=`cat VERSION`
DIST_NAME='vsqlite++'
DIST_FULL=$DIST_NAME-$DIST_VERSION
echo "Generating $DIST_FULL..."

git clean -d -f
#git archive tags/$DIST_VERSION --format=tar --prefix="$DIST_FULL/" | bzip2 > $DIST_FULL.tar.bz2
#git archive tags/$DIST_VERSION --format=tar --prefix="$DIST_FULL/" | gzip > $DIST_FULL.tar.gz
#git archive tags/$DIST_VERSION --format=tar --prefix="$DIST_FULL/" | xz -c > $DIST_FULL.tar.xz
#git archive tags/$DIST_VERSION --format=zip --prefix="$DIST_FULL/" > $DIST_FULL.zip
./autogen.sh
./configure --prefix=/usr
make dist-gzip
make dist-bzip2
make dist-xz
make dist-zip