]> code.delx.au - refind/blobdiff - mkdistrib
Documentation changes, mostly related to new icons.
[refind] / mkdistrib
index bd8279b921cfe7c8c1b8880be06e0863b21f2068..c2f785f251859d11b4c22f75ce02119226e94016 100755 (executable)
--- a/mkdistrib
+++ b/mkdistrib
@@ -48,14 +48,20 @@ make clean
 rm -rf debian/refind debian/*.log
 
 # Prepare a place and copy files there....
-mkdir -p ../snapshots/$1/refind-$1/icons
-cp --preserve=timestamps icons/*.icns ../snapshots/$1/refind-$1/icons/
-cp -a debian docs images keys fonts banners include EfiLib libeg mok refind filesystems gptsync refind.spec install.sh mkrlconf.sh mvrefind.sh CREDITS.txt NEWS.txt BUILDING.txt COPYING.txt LICENSE.txt README.txt refind.inf Make.tiano Make.common Makefile refind.conf-sample ../snapshots/$1/refind-$1
+mkdir -p ../snapshots/$1/refind-$1/icons/licenses ../snapshots/$1/refind-$1/icons/svg
+cp --preserve=timestamps icons/*png icons/README ../snapshots/$1/refind-$1/icons/
+cp --preserve=timestamps -r icons/licenses/* ../snapshots/$1/refind-$1/icons/licenses/
+cp --preserve=timestamps -r icons/svg/* ../snapshots/$1/refind-$1/icons/svg/
+cp -a debian docs images keys fonts banners include EfiLib libeg mok net refind filesystems gptsync refind.spec install.sh mkrlconf.sh mvrefind.sh CREDITS.txt NEWS.txt BUILDING.txt COPYING.txt LICENSE.txt README.txt refind.inf Make.tiano Make.common Makefile refind.conf-sample ../snapshots/$1/refind-$1
 
-# Go there and prepare a souce code zip file....
+# Go there and prepare a souce code tarball....
 cd ../snapshots/$1/
-rm -f refind-src-$1.zip
-zip -9r refind-src-$1.zip refind-$1
+rm -f refind-src-$1.tar.gz
+tar cvf refind-src-$1.tar refind-$1
+gzip -9 refind-src-$1.tar
+
+# Remove SVG files, since they aren't needed for binary packages....
+rm -rf refind-$1/icons/svg
 
 # Build the IA32 binaries
 cd refind-$1
@@ -116,13 +122,13 @@ cd ..
 rm -r refind-$1
 
 # Prepare the RPM & Debian package files
-cp refind-src-$1.zip ~/rpmbuild/SOURCES/
+cp refind-src-$1.tar.gz ~/rpmbuild/SOURCES/
 rpmbuild -ba $StartDir/refind.spec
 mv ~/rpmbuild/RPMS/*/refind-$1* ./
 mv ~/rpmbuild/SRPMS/refind-$1* ./
 sudo alien --to-deb -k -c refind-$1*x86_64.rpm
 sudo chown rodsmith: refind*deb
-rm ~/rpmbuild/SOURCES/refind-src-$1.zip
+rm ~/rpmbuild/SOURCES/refind-src-$1.tar.gz
 
 # Clean up
 if [[ $SignIt == 1 ]] ; then