summaryrefslogtreecommitdiff
path: root/Makefrag.am
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-18 15:13:38 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:48 +0200
commitea245e853760d24722028e8769f6e45680231fff (patch)
tree0bc900831c1d36ddf33f434182e0cda5e6f3f4ac /Makefrag.am
parentacfc921e67a4691f43a42e87f33b22fb8447dead (diff)
2006-10-18 Thomas Schwinge <tschwinge@gnu.org>
Install `PREFIX/share/msgids/gnumach.msgids'. * Makerules.am (%.msgids): Two new rules. * Makefrag.am (MOSTLYCLEANFILES): Add `gnumach.msgids'. (gnumach.msgids): New rule. (exec_msgidsdir, exec_msgids_DATA): New variables.
Diffstat (limited to 'Makefrag.am')
-rw-r--r--Makefrag.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefrag.am b/Makefrag.am
index 4c289042..652e3244 100644
--- a/Makefrag.am
+++ b/Makefrag.am
@@ -319,6 +319,21 @@ nodist_libkernel_a_SOURCES += \
# kern/mach4.server.defs
# kern/mach_debug.server.defs
# kern/mach_host.server.defs
+
+# rpctrace can make use of that.
+MOSTLYCLEANFILES += \
+ gnumach.msgids
+gnumach.msgids: $(nodist_lib_dep_tr_for_defs_a_SOURCES)
+ rm -f gnumach.msgids
+ for f in $(nodist_lib_dep_tr_for_defs_a_SOURCES); do \
+ f=`expr "$$f" : '\(.*\)\.defs\.c'`.msgids && \
+ $(MAKE) $(AM_MAKEFLAGS) "$$f" && \
+ cat "$$f" >> $@ || { rm -f $@; false; } \
+ done
+# `exec_' prefix, so that we don't try to build that file during when running
+# `make install-data', as it may fail there, but isn't needed there either.
+exec_msgidsdir = $(datadir)/msgids
+exec_msgids_DATA = gnumach.msgids
#
# Architecture specific parts.