exclude git specific files from the distribution tarballs
[citadel.git] / citadel / buildpackages
index 25da56385f03b1ed6a3704719c9ed6d280fc1a8b..2a027858babeb1006e7a41a3023fa75cfd4ca787 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,7 @@ 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 "debian/*" -chvzf citadel-$CITADEL_VERSION.tar.gz citadel-$CITADEL_VERSION/
        ;;
        *)
                echo "Not yet implemented. we have: debian "