The battle against bit rot continues!
[citadel.git] / citadel / buildpackages
index 8b181852e140d219bec2ff4fc13795e6ca62d799..412c303ca73c8e2f8c701d9cfbb62b57d06eedd9 100755 (executable)
@@ -79,7 +79,7 @@ EMAIL=citadel@outgesourced.org
        export LDFLAGS='-L/opt/csw/lib -L /usr/local/lib'
        export CFLAGS='-I/opt/csw/include -I/usr/local/include  -DDISABLE_CURSES'
        ./configure \
-           --with-db=/opt/csw/bdb44 \
+           --with-db=/opt/csw/bdb5 \
            --with-ical=/usr/local/ \
            --with-prefix=/opt/csw/ \
            --with-datadir=/opt/csw/var/lib/citadel \
@@ -100,7 +100,19 @@ EMAIL=citadel@outgesourced.org
 
        ;;
     sourcedist)
-       cd ..; tar --exclude .svn --exclude "debian/*" -chvzf citadel-$CITADEL_VERSION.tar.gz citadel-$CITADEL_VERSION/
+       cd ..; tar \
+           --exclude ".gitignore" \
+           --exclude "*.lo" \
+           --exclude "*.o" \
+           --exclude "*.d" \
+           --exclude "autom4te.cache/*" \
+           --exclude "debian/*" \
+           --exclude "sysdep.h" \
+           \
+           -chvzf citadel-$CITADEL_VERSION.tar.gz citadel-$CITADEL_VERSION/
+       ;;
+    version)
+       echo This would build citadel-$CITADEL_VERSION
        ;;
        *)
                echo "Not yet implemented. we have: debian "