ADDED build/makearch.info Index: build/makearch.info ================================================================== --- /dev/null +++ build/makearch.info @@ -0,0 +1,46 @@ +# This is the name of the utility, it will be prefixed to the tarball name +UTIL="tcl-nano" + +# This is the name of output files that should exist after configure +# procedures. +BINS="nano.so" + +# This lists the name of files that are required to exist +REQS="" + +# Version of utility, if empty it will be guessed. +# If set to "auto" it will be maintained in a file called .version +# in the source directory and the revision will be incremented +# each time a "makearch" is done. +# +# If @@SVNLCR@@ is used anywhere in this version number, it will be +# replaced with the highest last-changed-rev from the output of +# svn info -R (or 0) +VERS="" + +# Space sperated list of documents, if they exist, they will be +# prefixed with the contents of the DOC_HDR file and substitution +# will occur: +# @@UTIL@@ becomes the utility name ${UTIL} +# @@VERS@@ becomes the utility version +# @@DATE@@ becomes the current date +DOCS="README.txt ChangeLog" +DOC_HDR="HEADER" + +# These files follow the same convention as DOCS, but don't have the header +# tacked onto them. +UPDATE_VARS="" + +# This script is executed immediately after copying the files +# to a temp directory to attempt to compile +BEFORE="build/pre.sh" + +# This script is executed after updating variables +UPDATED="" + +# This script is executed immediately prior to creation of the +# tarball +AFTER="build/post.sh" + +# Files matching these (space-seperated) patterns are deleted +TMPS="*.out HEADER" ADDED build/post.sh Index: build/post.sh ================================================================== --- /dev/null +++ build/post.sh @@ -0,0 +1,8 @@ +#! /usr/bin/env bash + +set -e + +rm -rf build +rm -f autogen.sh + +exit 0 ADDED build/pre.sh Index: build/pre.sh ================================================================== --- /dev/null +++ build/pre.sh @@ -0,0 +1,6 @@ +#! /usr/bin/env bash + +./autogen.sh || exit 1 +rm -rf aclocal + +exit 0 Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1,7 +1,7 @@ dnl Define ourselves -AC_INIT(tcl-nano, 0) +AC_INIT(tcl-nano, 0.1) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_INSTALL