# $Name$
SUBDIRS = intl iconv utf8 gedcom gom include . t doc data po
-EXTRA_DIST = README.in Makefile
+EXTRA_DIST = Makefile.inc
+VERSIONED_FILES = README
+DISTCLEANFILES = GNUmakefile
+include $(top_srcdir)/Makefile.inc
+
+dist-hook:
+ $(replace-VERSION)