Updated the CtdlUserGoto() API call to also return the oldest and newest message...
[citadel.git] / citadel / buildpackages
index 25da56385f03b1ed6a3704719c9ed6d280fc1a8b..2803024573dd9a126722da149080a3270729ad0c 100755 (executable)
@@ -29,8 +29,7 @@ else
        fi
        if test "$done" = "false"; then 
                cd ..
-               mv -- $SYMLINK "citadel-$CITADEL_VERSION"
-               ln -sf "citadel-$CITADEL_VERSION" citadel
+               ln -sf citadel "citadel-$CITADEL_VERSION"
                cd "citadel-$CITADEL_VERSION"
        else
                cd "../citadel-$CITADEL_VERSION"
@@ -101,7 +100,16 @@ 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/
        ;;
        *)
                echo "Not yet implemented. we have: debian "