aboutsummaryrefslogtreecommitdiffstats
path: root/maintainer
diff options
context:
space:
mode:
authorroot <>2009-02-08 16:25:32 +0000
committerroot <>2009-02-08 16:25:32 +0000
commit5d3e093d432a31fb8a8267cbf30f1ed892f49508 (patch)
tree32d9b3010b05d1719301428fd0ab278d3790445b /maintainer
downloadlibjwg-5d3e093d432a31fb8a8267cbf30f1ed892f49508.tar.gz
libjwg-5d3e093d432a31fb8a8267cbf30f1ed892f49508.tar.bz2
libjwg-5d3e093d432a31fb8a8267cbf30f1ed892f49508.zip
*** empty log message ***
Diffstat (limited to 'maintainer')
-rwxr-xr-xmaintainer/bootstrap25
-rwxr-xr-xmaintainer/make_distn21
-rwxr-xr-xmaintainer/tag36
-rwxr-xr-xmaintainer/tidy33
4 files changed, 115 insertions, 0 deletions
diff --git a/maintainer/bootstrap b/maintainer/bootstrap
new file mode 100755
index 0000000..263b088
--- /dev/null
+++ b/maintainer/bootstrap
@@ -0,0 +1,25 @@
+#! /bin/sh
+#
+# bootstrap:
+#
+# Copyright (c) 2009 James McKenzie <20@madingley.org>,
+# All rights reserved.
+#
+# $Id$
+#
+# $Log$
+# Revision 1.1 2009/02/08 16:25:32 root
+# *** empty log message ***
+#
+#
+#
+#
+#
+libtoolize -f -c --automake
+aclocal
+autoheader
+autoconf
+automake -a -c
+automake -a -c Makefile
+automake -a -c src/Makefile
+automake -a -c test/Makefile
diff --git a/maintainer/make_distn b/maintainer/make_distn
new file mode 100755
index 0000000..8c346fc
--- /dev/null
+++ b/maintainer/make_distn
@@ -0,0 +1,21 @@
+#! /bin/sh
+#
+# make_distn:
+#
+# Copyright (c) 2009 James McKenzie <20@madingley.org>,
+# All rights reserved.
+#
+# $Id$
+#
+# $Log$
+# Revision 1.1 2009/02/08 16:25:32 root
+# *** empty log message ***
+#
+#
+#
+#
+#
+./autogen.sh
+./configure
+make dist
+make distclean
diff --git a/maintainer/tag b/maintainer/tag
new file mode 100755
index 0000000..1f62b38
--- /dev/null
+++ b/maintainer/tag
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# tag:
+#
+# Copyright (c) 2009 James McKenzie <20@madingley.org>,
+# All rights reserved.
+#
+# $Id$
+#
+# $Log$
+# Revision 1.1 2009/02/08 16:25:32 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 libjwg-$MAJOR_$MINOR_$MICRO .
diff --git a/maintainer/tidy b/maintainer/tidy
new file mode 100755
index 0000000..74201ea
--- /dev/null
+++ b/maintainer/tidy
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# tidy:
+#
+# Copyright (c) 2009 James McKenzie <20@madingley.org>,
+# All rights reserved.
+#
+# $Id$
+#
+# $Log$
+# Revision 1.1 2009/02/08 16:25:32 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
+