From 44341d32524c1621357bac52ffca7d8e9270c3e4 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 8 Sep 2007 16:49:37 +0000 Subject: *** empty log message *** --- maintainer/bootstrap | 24 ++++++++++++++++++++++++ maintainer/make_distn | 20 ++++++++++++++++++++ maintainer/tag | 36 ++++++++++++++++++++++++++++++++++++ maintainer/tidy | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100755 maintainer/bootstrap create mode 100755 maintainer/make_distn create mode 100755 maintainer/tag create mode 100755 maintainer/tidy (limited to 'maintainer') diff --git a/maintainer/bootstrap b/maintainer/bootstrap new file mode 100755 index 0000000..664776c --- /dev/null +++ b/maintainer/bootstrap @@ -0,0 +1,24 @@ +#!/bin/sh +# +# bootstrap: +# +# Copyright (c) 2007 James McKenzie , +# All rights reserved. +# +# $Id: bootstrap,v 1.1 2007/09/08 16:49:37 root Exp $ +# +# $Log: bootstrap,v $ +# Revision 1.1 2007/09/08 16:49:37 root +# *** empty log message *** +# +# +# +# +# +#libtoolize -f -c --automake +aclocal +autoheader +autoconf +automake -a -c +automake -a -c Makefile +automake -a -c src/Makefile diff --git a/maintainer/make_distn b/maintainer/make_distn new file mode 100755 index 0000000..0d444f3 --- /dev/null +++ b/maintainer/make_distn @@ -0,0 +1,20 @@ +#!/bin/sh +# +# make_distn: +# +# Copyright (c) 2007 James McKenzie , +# All rights reserved. +# +# $Id: make_distn,v 1.1 2007/09/08 16:49:37 root Exp $ +# +# $Log: make_distn,v $ +# Revision 1.1 2007/09/08 16:49:37 root +# *** empty log message *** +# +# +# +# +./maintainer/bootstrap +./configure +make dist +make distclean diff --git a/maintainer/tag b/maintainer/tag new file mode 100755 index 0000000..7359975 --- /dev/null +++ b/maintainer/tag @@ -0,0 +1,36 @@ +#!/bin/sh +# +# tag: +# +# Copyright (c) 2007 James McKenzie , +# All rights reserved. +# +# $Id: tag,v 1.1 2007/09/08 16:49:37 root Exp $ +# +# $Log: tag,v $ +# Revision 1.1 2007/09/08 16:49:37 root +# *** empty log message *** +# +# +# +# +cvs commit -m "" + +FILES=`cat version-files` +CHK=`cat $FILES | md5sum | awk '{print $1}'` +TG=`grep $CHK version-md5sums | awk '{print $2}'` +if [ .$TG != . ]; then + echo This code already tagged as Version $TG + exit 0 +fi + +MAJOR=`cat version-major` +MINOR=`cat version-minor` +MICRO=$[ `cat version-micro` + 1 ] + +echo $MICRO > version-micro + +echo "$CHK ${MAJOR}.${MINOR}.${MICRO}" >> version-md5sums + +cvs commit -m "" +cvs tag gpt-$MAJOR_$MINOR_$MICRO . diff --git a/maintainer/tidy b/maintainer/tidy new file mode 100755 index 0000000..d7065ef --- /dev/null +++ b/maintainer/tidy @@ -0,0 +1,33 @@ +#!/bin/sh +# +# tidy: +# +# Copyright (c) 2007 James McKenzie , +# All rights reserved. +# +# $Id: tidy,v 1.1 2007/09/08 16:49:37 root Exp $ +# +# $Log: tidy,v $ +# Revision 1.1 2007/09/08 16:49:37 root +# *** empty log message *** +# +# +# +# +if [ -f Makefile ]; then + make distclean +fi + +for i in acconfig.h AUTHORS bstrap ChangeLog configure.in COPYING INSTALL mdist NEWS README tidy src/config.h.in `find . -name Makefile.am -print` `find . -name \*.[ch] -print` ; do + if [ -f $i ]; then + gimme $i + fi +done + +find . -name \*.[ch] -print | xargs indent -i2 -ts0 + +find . -name \*~ -print| xargs /bin/rm -f +find . -name \*.BAK -print| xargs /bin/rm -f +find . -name a.out -print| xargs /bin/rm -f +find . -name core -print| xargs /bin/rm -f + -- cgit v1.2.3