#!/bin/sh # tiny configure script for qmqtool # we're in the major league now # Copyright Jeremy Kister 2009.01.23 # http://jeremy.kister.net/code/qmqtool/ echo " " while test $# -gt 0 ; do case $1 in --*=*) arg=`echo $1 | sed 's/.*=//'` ;; *) arg= ;; esac case $1 in --help) cat < qmqtool @cp src/qmqtool.8 qmqtool.8 install: qmqtool -mkdir -p $scriptdir cp qmqtool $scriptdir chown 0 $scriptdir/qmqtool chmod 755 $scriptdir/qmqtool -mkdir -p $mandir/man8/ cp qmqtool.8 $mandir/man8/ chown 0 $mandir/man8/qmqtool.8 chmod 744 $mandir/man8/qmqtool.8 clean: -rm Makefile qmqtool qmqtool.8 out: @echo "well, as long as you're a chick, sure!" EOM ) > Makefile echo " " echo "now type 'make' and then 'make install'"