2 Add GNU-make specific rules for maintainer use.
10 # Autoconf 2.61a.99 and earlier don't support linking a file only
11 # in VPATH builds. But since GNUmakefile is for maintainer use
12 # only, it does not matter if we skip the link with older autoconf.
13 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
14 # builds, so use a shell variable to bypass this.
15 GNUmakefile=GNUmakefile
16 m4_if(m4_version_compare([2.61a.100],
17 m4_defn([m4_PACKAGE_VERSION])), [1], [],
18 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
19 [GNUmakefile=$GNUmakefile])])
22 EXTRA_DIST += $(top_srcdir)/GNUmakefile
23 distclean-local: clean-GNUmakefile
25 test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile