# $Mu: tools/README,v 1.12 $

This directory contain some simple scripts that are used during the build.

	ad2c	ad2c.COPYING
	ad2c.1	ad2c.README
		Application defaults to C converter by George Ferguson
		(ferguson@cs.rochester.edu) with a small addition of
		mine (the -a switch).

	adpp.awk
		A simple awk script for building app-defaults files.
		This script needs an awk that is nawk; findawk is used
		to guess at the correct awk and the makefiles do the
		substitution to produce adpp.

	findawk
		Script which attempts to find a good awk on your
		system (we really need nawk but everyone has different
		ideas about names).  We look for mawk, gawk, nawk, and
		awk (in that order) in /usr/local/bin, /usr/bin, /bin,
		and your $PATH (in that order) and hope that the first
		one we find will work.

	fixdep.awk
		An awk script for cleaning up dependency lists for
		use with GNU Make's library handling rules. This awk
		script needs an awk that is really a nawk (in particular,
		the awk used must understand the -v switch); findawk
		is used to guess at the correct awk to use and the makefiles
		do the substitution on fixdep.awk to produce fixdep.

	fixres
		Resource file fixer for dealing with system specific
		resources.

	manpp
		Simple substitution script for man pages; @@VERSION@@
		is converted to the version string and @@LIBDIR@@ is
		converted to the path to the help files.
	mkver
		Builds the _ver.o object file which contains a couple of
		build defined strings.

	mutstall
		mu's bare bones BSDish install script; if you don't
		have a BSDish install(1) (GNU install or bsdinstall
		for example), then you can use this as $(install) and
		everything should work out.

	sgmlpp
		Simple preprocessor for SGML documents; this just
		substitutes @@VERSION@@ with its first argument
		and cleans up RCS date strings.

	standard.ad
		Standard font and other resources.

	stringify
		Filter for converting a text file to an array of
		C strings.

	yanksect
		A simple little perl script for pulling a section
		out of a linuxdoc-sgml/article SGML file.  This is
		only used by my "tar" target so you don't have to
		worry about having perl around.
