indent - Beautifies code making it easier to read ChangeLog

HOWTO


# GNU indent 2.2.10
# =================
# Slackware 13.0, 13.1, 13.37, 14.0: indent 2.2.10

# If you ever want to uninstall indent, or clean up files from an old
# version before installing this one, skip down to the bottom for notes.

# Below the ftpmirror.gnu.org URL is used to automatically choose a nearby
# and up-to-date GNU mirror.
# http://www.gnu.org/prep/ftp.html

# Prerequisites:
# teTeX (optional)
# texinfo (optional)
# gettext
# iconv
# bison

# Get the source
cd
test -f installed/indent-2.2.10.tar.gz && mv installed/indent-2.2.10.tar.gz .
test ! -f indent-2.2.10.tar.gz &&
wget http://ftpmirror.gnu.org/indent/indent-2.2.10.tar.gz

# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "be35ea62705733859fbf8caf816d8959  indent-2.2.10.tar.gz" | md5sum -c

# Verify tarball w/ gpg:
( gpg --list-keys D9FC8D73 > /dev/null 2>&1 || gpg --recv-keys D9FC8D73 ) &&
wget -nc http://ftpmirror.gnu.org/indent/indent-2.2.10.tar.gz.sig &&
gpg --verify indent-2.2.10.tar.gz.sig && rm indent-2.2.10.tar.gz.sig

# Extract the source
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "indent-*" -exec rm -r {} \;
tar xzvf ~/indent-2.2.10.tar.gz
cd indent-2.2.10
test $UID = 0 && chown -R root:root .

# Configure the build, build it
./configure --prefix=/usr --infodir=/usr/info --mandir=/usr/man --disable-nls
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg indent

# Install it
make install-strip

# Become yourself again
exit

# Keep the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/indent-*.tar.*
mv indent-2.2.10.tar.gz installed/


# If you ever want to uninstall indent, this should do it:
cd
su
test -d src/indent-* && ( cd src/indent-* ; make uninstall )
test -d /usr/doc/indent && rm -r /usr/doc/indent
rm -f /usr/bin/indent /usr/bin/texinfo2man /usr/info/indent.info\
/usr/man/man1/indent.1
exit
find ~/src -maxdepth 1 -type d -name "indent-*" -exec rm -r {} \;
rm -f ~/installed/indent-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2013-03-12 11:32pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]