Quick hack to buildpackages, use "buildpackages version" to simply have it tell you...
[citadel.git] / citadel / buildpackages
index 2a027858babeb1006e7a41a3023fa75cfd4ca787..3b9f6f881cf32477db0729aa79d7a16367231d78 100755 (executable)
@@ -100,7 +100,19 @@ EMAIL=citadel@outgesourced.org
 
        ;;
     sourcedist)
-       cd ..; tar --exclude .gitignore --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 "