Some tweaks to build tools

Started make_deb.sh for Debian package
This commit is contained in:
ridiculousfish 2012-05-22 00:05:41 -07:00
parent 673faf7152
commit 6f9a523151
5 changed files with 18 additions and 7 deletions

View file

@ -1 +1 @@
<pkgref spec="1.12" uuid="6A7E1ED5-E40E-4ACE-959B-B9D77555AD39"><config><identifier>com.ridiculousfish.fish-shell.fishShell.fish_pkg.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom>/private/tmp/fish_pkg</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>installTo</mod></config></pkgref>
<pkgref spec="1.12" uuid="6A7E1ED5-E40E-4ACE-959B-B9D77555AD39"><config><identifier>com.ridiculousfish.fish-shell.fishShell.fish_pkg.pkg</identifier><version>1.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom>/private/tmp/fish_pkg</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>parent</mod></config></pkgref>

View file

@ -3,15 +3,17 @@
{\colortbl;\red255\green255\blue255;}
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
\f0\fs24 \cf0 This installs ridiculous_fish's fork of fish, a command line shell for Mac OS X, Linux, and the rest of the family.\
\f0\fs30 \cf0 This installs ridiculous_fish's fork of fish, a command line shell for Mac OS X, Linux, and the rest of the family. For more information on fish, visit {\field{\*\fldinst{HYPERLINK "http://ridiculousfish.com/shell/"}}{\fldrslt http://ridiculousfish.com/shell/}}\
\
The path to fish will be added to /etc/shells, but your default shell will not be modified. \
\
This release is beta r1.\
}]]></resource><resource mime-type="text/rtf" kind="embedded" type="conclusion"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf470
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Monaco;}
{\colortbl;\red255\green255\blue255;}
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
\f0\fs24 \cf0 Run
\f0\fs26 \cf0 Run
\f1 fish
\f0 at the command line to start it up! Some useful commands:\
\

9
build_tools/make_deb.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
rm -f /tmp/fish_fish_deb
mkdir /tmp/fish_fish_deb
git archive --format=tar fish_fish | tar -x -C /tmp/fish_fish_deb
cd /tmp/fish_fish_deb
./configure
make
sudo checkinstall make install

View file

@ -5,9 +5,9 @@ mkdir -p /tmp/fish_pkg/
if make install prefix=/tmp/fish_pkg/usr/local/
then
echo "Root written to /tmp/fish_pkg/"
if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fish_installer.pkg
if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fishfish.pkg
then
echo "Package written to ~/fish_installer.pkg"
echo "Package written to ~/fishfish.pkg"
else
echo "Package could not be written"
fi

View file

@ -1,9 +1,9 @@
#!/bin/sh
rm -f /tmp/fish_fish.tar /tmp/fish_fish.tar.gz
if git archive --format=tar fish_fish | gzip - > /tmp/fish_fish.tar
if git archive --format=tar fish_fish | gzip - > /tmp/fishfish.tar.gz
then
echo "Tarball written to /tmp/fish_fish.tar.gz"
echo "Tarball written to /tmp/fishfish.tar.gz"
else
echo "Tarball could not be written"
fi