From ea245e853760d24722028e8769f6e45680231fff Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 18 Oct 2006 15:13:38 +0000 Subject: 2006-10-18 Thomas Schwinge 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. --- Makefrag.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Makefrag.am') 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. -- cgit v1.2.3