## Process this file with automake to produce Makefile.in -*-Makefile-*-
AUTOMAKE_OPTIONS = foreign

# empty
all:

##m4-files-begin
##m4-files-end

Makefile.am: Makefile.am.in
	rm -f $@ $@t
	sed -n '1,/^##m4-files-begin/p' Makefile.am.in > $@t
	echo EXTRA_DIST = README MacOSX Makefile.am.in buildvms.com	\
	  config.* djconfig.sh make_vms.com makefile.* watcom/Makefile	\
	  watcom/config.h cygwin/Makefile mingw/Makefile msvc/Makefile \
	  | fmt \
          | (tr '\012' @; echo) \
	  | sed 's/@$$/%/;s/@/ \\@/g' \
          | tr @% '\012 ' >> $@t
	sed -n '/^##m4-files-end/,$$p' $< >> $@t
	chmod og-w $@t
	mv $@t $@

