Skip to content

Commit 1c5ea40

Browse files
author
Federico Fissore
committed
Linux: using lzma as compression algorithm, halves dist file size
1 parent 0d9997b commit 1c5ea40

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build/build.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@
588588
</target>
589589

590590
<target name="linux-dist" depends="build"
591-
description="Build .tar.gz of linux version">
591+
description="Build .tar.xz of linux version">
592592

593593
<!--get src="http://dev.processing.org/build/jre-tools-6u18-linux-i586.tgz"
594594
dest="linux/jre.tgz"
@@ -617,10 +617,10 @@
617617
<move file="linux/work" tofile="linux/arduino-${version}" />
618618

619619
<exec executable="tar" dir="linux">
620-
<arg value="-z"/>
620+
<arg value="--lzma"/>
621621
<arg value="-c"/>
622622
<arg value="-f"/>
623-
<arg value="arduino-${version}-${platform}.tgz"/>
623+
<arg value="arduino-${version}-${platform}.tar.xz"/>
624624
<arg value="arduino-${version}"/>
625625
</exec>
626626

@@ -630,16 +630,16 @@
630630
=======================================================
631631
Arduino for Linux was built. Grab the archive from
632632

633-
build/linux/arduino-${version}-${platform}.tgz
633+
build/linux/arduino-${version}-${platform}.tar.xz
634634
=======================================================
635635
</echo>
636636
</target>
637637

638638
<target name="linux32-dist" depends="linux-dist"
639-
description="Build .tar.gz of linux version" />
639+
description="Build .tar.xz of linux version" />
640640

641641
<target name="linux64-dist" depends="linux-dist"
642-
description="Build .tar.gz of linux version" />
642+
description="Build .tar.xz of linux version" />
643643

644644
<!-- - - - - - - - -->
645645
<!-- Windows -->

0 commit comments

Comments
 (0)