* don't distribute machine dependend stuff...
authorWilfried Göesgens <willi@citadel.org>
Thu, 11 Dec 2008 22:33:54 +0000 (22:33 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 11 Dec 2008 22:33:54 +0000 (22:33 +0000)
libcitadel/buildpackages

index 84cf56ac201f3cde9482e2ef4005a54e572547b8..7866949fda8fd6afa28bc67f92d2ea7527e3956e 100755 (executable)
@@ -53,7 +53,7 @@ case $1 in
            mkdir tmp
            cp -rL libcitadel-$LIBCITADEL_VERSION tmp
            cd tmp/libcitadel-$LIBCITADEL_VERSION
-           rm -rf `find -name .svn ` svn*tmp config.log config.status
+           rm -rf `find -name .svn ` svn*tmp config.log config.status `find -name .libs`
            find -type f -exec chmod a-x {} \;
            chmod a+x configure
            cd ..
@@ -102,7 +102,15 @@ EMAIL=citadel@outgesourced.org
 
        ;;
     sourcedist)
-       cd ..; tar --exclude .svn --exclude "debian/*" -chvzf libcitadel-$LIBCITADEL_VERSION.tar.gz libcitadel-$LIBCITADEL_VERSION/
+       cd ..; tar --exclude .svn \
+           --exclude "*svn*" \
+           --exclude .libs \
+           --exclude "*.lo" \
+           --exclude "*.d" \
+           --exclude "debian/*" \
+           --exclude "sysdep.h" \
+           \
+           -chvzf libcitadel-$LIBCITADEL_VERSION.tar.gz libcitadel-$LIBCITADEL_VERSION/
        ;;
        *)
                echo "Not yet implemented. we have: debian "