[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch to close task #1017
From: |
Alfred M. Szmidt |
Subject: |
Re: patch to close task #1017 |
Date: |
Fri, 05 Aug 2005 20:47:47 +0200 |
Roland, OK to commit?
hurd/ChangeLog
2005-08-05 Alfred M. Szmidt <ams@gnu.org>
* Makefile (MSGIDS): New variable.
(all): New target.
(install-headers, install): Depend on `install-msgids'.
(install-msgids): New target
($(datadir)/msgids): New target.
--- hurd/Makefile 22 Aug 2002 23:25:04 +0200 1.28
+++ hurd/Makefile 05 Aug 2005 20:44:20 +0200
@@ -1,4 +1,4 @@
-# Copyright (C) 1993,94,95,96,99,2002 Free Software Foundation
+# Copyright (C) 1993,94,95,96,99,2002,2005 Free Software Foundation
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -22,15 +22,20 @@ DIST_FILES = subsystems $(notdir $(hdrs)
INSTHDRS = hurd_types.h version.h ioctl_types.h paths.h shared.h console.h \
$(notdir $(wildcard $(srcdir)/*.defs))
+MSGIDS := hurd.msgids $(patsubst %.defs,%.msgids,$(filter %.defs,$(INSTHDRS)))
include ../Makeconf
+all: $(MSGIDS)
+
install-headers install: $(includedir)/hurd \
- $(addprefix $(includedir)/hurd/,$(INSTHDRS))
+ $(addprefix $(includedir)/hurd/,$(INSTHDRS)) install-msgids
+
+install-msgids: $(MSGIDS); $(INSTALL_DATA) $^ $(datadir)/msgids
$(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@
-$(includedir)/hurd:;mkdir -p $@
+$(datadir)/msgids $(includedir)/hurd:;mkdir -p $@
%.msgids: $(srcdir)/%.defs
if grep -q '^subsystem' $<; \
Re: patch to close task #1017, Alfred M. Szmidt, 2005/08/05