## We need `.' in SUBDIRS because we want `check' to build `.' before
## tests.
-SUBDIRS = . m4 tests
+SUBDIRS = . m4 Automake tests
bin_SCRIPTS = automake aclocal
info_TEXINFOS = automake.texi
-amfiles = ansi2knr.am check.am clean-hdr.am clean.am compile.am \
+
+amdir = $(pkgdatadir)/am
+
+dist_am_DATA = ansi2knr.am check.am clean-hdr.am clean.am compile.am \
configure.am data.am dejagnu.am depend.am depend2.am distdir.am \
ext-compile.am footer.am header-vars.am header.am install.am java.am \
lex.am library.am libs.am libtool.am lisp.am ltlib.am ltlibrary.am \
remake-hdr.am scripts.am subdirs.am tags.am texi-vers.am texibuild.am \
texinfos.am yacc.am
-dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
-$(amfiles)
+
+dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1
## These must all be executable when installed. However, if we use
## _SCRIPTS, then the program transform will be applied, which is not
AUTOMAKE_OPTIONS = gnits 1.4
MAINT_CHARSET = latin1
-SUBDIRS = . m4 tests
+SUBDIRS = . m4 Automake tests
bin_SCRIPTS = automake aclocal
info_TEXINFOS = automake.texi
-amfiles = ansi2knr.am check.am clean-hdr.am clean.am compile.am \
+amdir = $(pkgdatadir)/am
+
+dist_am_DATA = ansi2knr.am check.am clean-hdr.am clean.am compile.am \
configure.am data.am dejagnu.am depend.am depend2.am distdir.am \
ext-compile.am footer.am header-vars.am header.am install.am java.am \
lex.am library.am libs.am libtool.am lisp.am ltlib.am ltlibrary.am \
texinfos.am yacc.am
-dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
-$(amfiles)
-
+dist_pkgdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1
scriptdir = $(pkgdatadir)
dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
INFO_DEPS = automake.info
DVIS = automake.dvi
TEXINFOS = automake.texi
-DATA = $(dist_pkgdata_DATA) $(dist_script_DATA)
+DATA = $(dist_am_DATA) $(dist_pkgdata_DATA) $(dist_script_DATA)
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
uninstall-info-recursive all-recursive install-data-recursive \
install-exec-recursive installdirs-recursive install-recursive \
uninstall-recursive check-recursive installcheck-recursive
-DIST_COMMON = README $(dist_pkgdata_DATA) $(dist_script_DATA) AUTHORS \
- COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS \
- README-alpha THANKS TODO aclocal.in aclocal.m4 ansi2knr.1 \
- ansi2knr.c automake.in compile config.guess config.sub \
- configure configure.in depcomp elisp-comp install-sh mdate-sh \
- missing mkinstalldirs py-compile stamp-vti texinfo.tex \
- version.texi ylwrap
+DIST_COMMON = README $(dist_am_DATA) $(dist_pkgdata_DATA) \
+ $(dist_script_DATA) AUTHORS COPYING ChangeLog INSTALL \
+ Makefile.am Makefile.in NEWS README-alpha THANKS TODO \
+ aclocal.in aclocal.m4 ansi2knr.1 ansi2knr.c automake.in compile \
+ config.guess config.sub configure configure.in depcomp \
+ elisp-comp install-sh mdate-sh missing mkinstalldirs py-compile \
+ stamp-vti texinfo.tex version.texi ylwrap
DIST_SUBDIRS = $(SUBDIRS)
all: all-recursive
rm -f $$i-[0-9]*; \
fi; \
done
+install-dist_amDATA: $(dist_am_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(amdir)
+ @list='$(dist_am_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(amdir)/$$f"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(amdir)/$$f; \
+ done
+
+uninstall-dist_amDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dist_am_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(amdir)/$$f"; \
+ rm -f $(DESTDIR)$(amdir)/$$f; \
+ done
install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(scriptdir)
+ $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(amdir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(scriptdir)
install: install-recursive
install-exec: install-exec-recursive
info-am: $(INFO_DEPS)
-install-data-am: install-dist_pkgdataDATA install-dist_scriptDATA \
- install-info-am
+install-data-am: install-dist_amDATA install-dist_pkgdataDATA \
+ install-dist_scriptDATA install-info-am
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
-uninstall-am: uninstall-binSCRIPTS uninstall-dist_pkgdataDATA \
- uninstall-dist_scriptDATA uninstall-info-am
+uninstall-am: uninstall-binSCRIPTS uninstall-dist_amDATA \
+ uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA \
+ uninstall-info-am
uninstall-info: uninstall-info-recursive
distclean distclean-generic distclean-recursive distclean-tags \
distdir dvi dvi-am dvi-recursive info info-am info-recursive \
install install-am install-binSCRIPTS install-data \
- install-data-am install-data-recursive install-dist_pkgdataDATA \
- install-dist_scriptDATA install-exec install-exec-am \
- install-exec-recursive install-info install-info-recursive \
- install-man install-recursive install-strip installcheck \
- installcheck-am installcheck-local installdirs installdirs-am \
- installdirs-recursive maintainer-clean maintainer-clean-aminfo \
+ install-data-am install-data-recursive install-dist_amDATA \
+ install-dist_pkgdataDATA install-dist_scriptDATA install-exec \
+ install-exec-am install-exec-recursive install-info \
+ install-info-recursive install-man install-recursive \
+ install-strip installcheck installcheck-am installcheck-local \
+ installdirs installdirs-am installdirs-recursive \
+ maintainer-clean maintainer-clean-aminfo \
maintainer-clean-generic maintainer-clean-recursive \
maintainer-clean-vti mostlyclean mostlyclean-aminfo \
mostlyclean-generic mostlyclean-recursive mostlyclean-vti tags \
tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
- uninstall-dist_pkgdataDATA uninstall-dist_scriptDATA \
- uninstall-info-recursive uninstall-recursive
+ uninstall-dist_amDATA uninstall-dist_pkgdataDATA \
+ uninstall-dist_scriptDATA uninstall-info-recursive \
+ uninstall-recursive
install-data-hook: