## along with strayman; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-AUTOMAKE_OPTIONS = foreign
-
pkglatexdir = ${texmfdir}/tex/latex/${PACKAGE}
pkgdocdir = ${texmfdir}/doc/latex/${PACKAGE}
MAINTAINERCLEANFILES = $(OBJ) $(DVI)
CLEANFILES = *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans *.ps *.pdf
+dist-hook::
+ echo $(VERSION) >$(distdir)/RELEASE
+EXTRA_DIST += auto-version
+
Makefile.am: Makefile.m4
cd $(srcdir) && m4 Makefile.m4 >Makefile.am
dnl along with strayman; if not, write to the Free Software Foundation,
dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-AC_INIT(strayman.ins)
-AM_INIT_AUTOMAKE(strayman, 1.1.2)
+mdw_AUTO_VERSION
+AC_INIT(strayman, AUTO_VERSION, mdw@distorted.org.uk)
+AC_CONFIG_SRCDIR(strayman.ins)
+AM_INIT_AUTOMAKE(foreign)
mdw_DIR_TEXMF
AC_OUTPUT(Makefile)