summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-03-06 11:03:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-03-06 11:03:33 +0000
commit44dd5dc43885b05b1880c3fd1a1d72e9c0e80bba (patch)
tree6db914a4ef8c706cb20df656fb478eae2efe90aa /Makefile.am
parent631180564bd9a57624413a14044a42548c2d5690 (diff)
downloadrtems-44dd5dc43885b05b1880c3fd1a1d72e9c0e80bba.tar.bz2
2011-03-06 Ralf Cors├ępius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Add pkgdatadir. Override pkgdatadir to $(datadir)/rtems$_RTEMS_API. * Makefile.am: Install make/Templates to pkgdatadir.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 215c865f94..3967faff80 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,14 +42,18 @@ dist-hook:
rtems_makedir = $(prefix)/make
-dist_rtems_make_DATA = make/main.cfg make/leaf.cfg
+dist_rtems_make_DATA =
+dist_rtems_make_DATA += make/main.cfg
+dist_rtems_make_DATA += make/leaf.cfg
EXTRA_DIST += make/host.cfg.in
-rtems_make_Templatesdir = $(rtems_makedir)/Templates
+rtems_make_Templatesdir = $(pkgdatadir)/make/Templates
-dist_rtems_make_Templates_DATA = make/Templates/Makefile.dir \
- make/Templates/Makefile.leaf make/Templates/Makefile.lib
+dist_rtems_make_Templates_DATA =
+dist_rtems_make_Templates_DATA += make/Templates/Makefile.dir
+dist_rtems_make_Templates_DATA += make/Templates/Makefile.leaf
+dist_rtems_make_Templates_DATA += make/Templates/Makefile.lib
rtems_make_customdir = $(rtems_makedir)/custom