NOOP: spacing and indentation
[ardour.git] / tools / linux_packaging / build
index 6ed2e13941d7c4cec9bbe00fe5ec748fe274314e..7367028355b637de780b6c9d3fc06df3a6e97a5c 100755 (executable)
@@ -80,6 +80,7 @@ while [ $# -gt 0 ] ; do
                major_version=""
                shift ;;
        --public)
+               WITH_HARRISON_LV2=1 ;
                WITH_NLS=1 ;
                WITH_LADSPA=;
                STRIP=all ;
@@ -393,6 +394,10 @@ done
 # Lua Scripts Files
 # got to be careful with names here
 for x in $BUILD_ROOT/../scripts/*.lua ; do
+               BN=$(basename $x)
+         if test "${BN:0:1}" = "_"; then
+                       continue;
+               fi
     cp "$x" $LuaScripts
 done
 
@@ -607,12 +612,7 @@ cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
 
 # Themes: only install those named for this app
 lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-for colorfile in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
-do
-    cf=`basename $colorfile`
-    cf=`echo $cf | sed -e "s/-${lower_case_appname}//"`
-    cp $colorfile $Themes/$cf
-done
+cp ../../gtk2_ardour/themes/*-${lower_case_appname}.colors $Themes
 
 #
 # put sooper sekrit ingredients here and they will be copied
@@ -746,8 +746,8 @@ fi
 
 echo "Building tarball ..."
 
-rm -f $APPDIR.tar.bz2
-tar -cjf $APPDIR.tar.bz2 $APPDIR
+rm -f $APPDIR.tar
+tar -cf $APPDIR.tar $APPDIR
 
 echo "Calculating bundle size"
 du -sb $APPDIR/  | awk '{print $1}' > $APPDIR.size