From 1a5f0c91cf086661950824724ffdeb0b3d14cd63 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 24 Nov 1995 23:41:02 +0000 Subject: [PATCH] *** empty log message *** --- automake.texi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/automake.texi b/automake.texi index ecff7cc3..ab53576f 100644 --- a/automake.texi +++ b/automake.texi @@ -116,6 +116,7 @@ AutoMake's convenience. * Scripts:: Building scripts * Libraries:: Building libraries * Libstuff:: Programs that aren't user-visible +* Data:: Data files. * Docs:: Specifying documentation files * ANSI:: Automatic de-ANSI-fication * Install:: What gets installed @@ -333,6 +334,33 @@ LIBPROGRAMS = goodbye goodbye_SOURCES = goodbye.c @end example + +@node Data +@section Architecture-independent data files + +@code{automake} supports two different ways to install +architecture-independent data files. + +The first variable that can be used is @samp{DATA}. This is intended to +be used for only a small number of data files. The files are installed +in @samp{$@{datadir@}}. + +The second variable that can be used is @samp{PACKAGEDATA}. This is +intended for a larger number of data files. The files are installed in +@samp{$@{datadir@}/$@{PACKAGE@}}. This variable is what @code{automake} +itself uses: + +@example +PACKAGEDATA = clean-kr.am clean.am compile-kr.am compile-vars.am \ +compile.am data.am depend.am dist-subd-top.am dist-subd-vars.am \ +dist-subd.am dist-vars.am dist.am footer.am header-vars.am header.am \ +libscripts.am libprograms.am libraries-vars.am libraries.am library.am \ +mans-vars.am mans.am packagedata.am program.am programs.am remake-hdr.am \ +remake-subd.am remake.am scripts.am subdirs.am tags.am tags-subd.am \ +texinfos-vars.am texinfos.am hack-make.sed nl-remove.sed +@end example + + @node Docs @section Texinfo and Man Pages -- 2.43.5