Reduce differences with root_skels in contrib.
[dragonfly.git] / contrib / bsdinstaller-1.1.6 / scripts / build / create_installer_tarballs.sh
blobbb855599a7d78a29f43ff6d204172a6fd1f2a46a
1 #!/bin/sh -x
3 # $Id: create_installer_tarballs.sh,v 1.30 2005/04/05 10:37:57 den Exp $
4 # Create tarballs from the contents of the CVS repo.
6 SCRIPT=`realpath $0`
7 SCRIPTDIR=`dirname $SCRIPT`
9 [ -r $SCRIPTDIR/build.conf ] && . $SCRIPTDIR/build.conf
10 . $SCRIPTDIR/build.conf.defaults
11 . $SCRIPTDIR/pver.conf
13 PVERSUFFIX=""
14 if [ "X$RELEASEBUILD" != "XYES" ]; then
15 PVERSUFFIX=.`date "+%Y.%m%d"`
18 rm -f $DISTFILESDIR/*dfui*
19 rm -f $DISTFILESDIR/libaura-*
21 cd $CVSDIR/$CVSMODULE/src && \
22 make clean && \
23 (find $CVSDIR/$CVSMODULE -name '*.core' -print0 | xargs -0 rm -f) && \
24 (find $CVSDIR/$CVSMODULE -name '.#*' -print0 | xargs -0 rm -f) && \
25 cd $CVSDIR/$CVSMODULE/ports && \
26 rm -rf `find . -name 'work' -print` && \
27 if [ "X$CVSUPDATE" = "XYES" ]; then
28 cd $CVSDIR/$CVSMODULE && \
29 cvs -d:ext:$CVSUSER@$CVSSITE:/$CVSROOT update
30 fi && \
31 cd $CVSDIR && \
32 tar zcvf $DISTFILESDIR/installer-${INSTALLER_VER}${PVERSUFFIX}.tar.gz --exclude CVS installer && \
33 cd $CVSDIR/$CVSMODULE/src/lib && \
34 tar zcvf $DISTFILESDIR/libaura-${LIBAURA_VER}${PVERSUFFIX}.tar.gz --exclude CVS libaura && \
35 tar zcvf $DISTFILESDIR/libdfui-${LIBDFUI_VER}${PVERSUFFIX}.tar.gz --exclude CVS libdfui && \
36 tar zcvf $DISTFILESDIR/libinstaller-${LIBINSTALLER_VER}${PVERSUFFIX}.tar.gz --exclude CVS libinstaller && \
37 cd $CVSDIR/$CVSMODULE/src/lib/lua && \
38 tar zcvf $DISTFILESDIR/luapty-${LUA50_PTY_VER}${PVERSUFFIX}.tar.gz --exclude CVS pty && \
39 tar zcvf $DISTFILESDIR/luagettext-${LUA50_GETTEXT_VER}${PVERSUFFIX}.tar.gz --exclude CVS gettext && \
40 tar zcvf $DISTFILESDIR/luadfui-${LUA50_DFUI_VER}${PVERSUFFIX}.tar.gz --exclude CVS dfui && \
41 tar zcvf $DISTFILESDIR/luafilename-${LUA50_FILENAME_VER}${PVERSUFFIX}.tar.gz --exclude CVS filename && \
42 tar zcvf $DISTFILESDIR/luaapp-${LUA50_APP_VER}${PVERSUFFIX}.tar.gz --exclude CVS app && \
43 cd $CVSDIR/$CVSMODULE/src/frontends && \
44 tar zcvf $DISTFILESDIR/dfuife_curses-${DFUIFE_CURSES_VER}${PVERSUFFIX}.tar.gz --exclude CVS ncurses && \
45 tar zcvf $DISTFILESDIR/dfuife_cgi-${DFUIFE_CGI_VER}${PVERSUFFIX}.tar.gz --exclude CVS cgi && \
46 tar zcvf $DISTFILESDIR/dfuife_qt-${DFUIFE_QT_VER}${PVERSUFFIX}.tar.gz --exclude CVS qt && \
47 cd $CVSDIR/$CVSMODULE/src/backend && \
48 tar zcvf $DISTFILESDIR/dfuibe_installer-${DFUIBE_INSTALLER_VER}${PVERSUFFIX}.tar.gz --exclude CVS installer && \
49 tar zcvf $DISTFILESDIR/dfuibe_lua-${DFUIBE_LUA_VER}${PVERSUFFIX}.tar.gz --exclude CVS lua