From: Tom Tromey Date: Sun, 12 Nov 1995 22:59:37 +0000 (+0000) Subject: (install): New target. X-Git-Tag: Release-0-25~388 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=e50b6f30da7e5557f40a475cb135a40db8789db4;p=automake.git (install): New target. (amdatadir): New variable. --- diff --git a/Makefile.am b/Makefile.am index 6d61cad7..0e1d3836 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ SCRIPTS = automake +amdatadir = $(datdir)/automake am_DATA = clean-kr.am clean.am compile-kr.am compile-vars.am compile.am \ dist-subd-top.am dist-subd-vars.am dist-subd.am dist-vars.am dist.am \ footer.am header-vars.am header.am libprograms.am libraries-vars.am \ @@ -9,3 +10,8 @@ texinfos.am DIST_OTHER = ChangeLog README TODO $(am_DATA) \ automake.in configure.in configure + +install: $(am_DATA) + for i in $(am_DATA); do \ + $(INSTALL_DATA) $(srcdir)/$$i $(amdatadir)/$$i; \ + done diff --git a/lib/am/Makefile.am b/lib/am/Makefile.am index 6d61cad7..0e1d3836 100644 --- a/lib/am/Makefile.am +++ b/lib/am/Makefile.am @@ -1,5 +1,6 @@ SCRIPTS = automake +amdatadir = $(datdir)/automake am_DATA = clean-kr.am clean.am compile-kr.am compile-vars.am compile.am \ dist-subd-top.am dist-subd-vars.am dist-subd.am dist-vars.am dist.am \ footer.am header-vars.am header.am libprograms.am libraries-vars.am \ @@ -9,3 +10,8 @@ texinfos.am DIST_OTHER = ChangeLog README TODO $(am_DATA) \ automake.in configure.in configure + +install: $(am_DATA) + for i in $(am_DATA); do \ + $(INSTALL_DATA) $(srcdir)/$$i $(amdatadir)/$$i; \ + done