diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-23 20:14:46 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-23 20:14:46 +0000 |
commit | 8d551125801b05b49817b1f193ea82c9740b6c42 (patch) | |
tree | c302a44b70bc13757cbf0bb25ad0719aa3408444 /hurd | |
parent | 8e1e22c755d9053254e82462ac26013abdcc8acf (diff) |
2002-05-23 Roland McGrath <roland@frob.com>
* Makefile (%.msgids, hurd.msgids): New rules.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hurd/Makefile b/hurd/Makefile index 1b133aaa..078c80ab 100644 --- a/hurd/Makefile +++ b/hurd/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 1993, 94, 95, 96, 99 Free Software Foundation +# Copyright (C) 1993,94,95,96,99,2002 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 @@ -33,7 +33,12 @@ $(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@ $(includedir)/hurd:;mkdir -p $@ - +%.msgids: $(srcdir)/%.defs + if grep -q '^subsystem' $<; \ + then $(CPP) $(CPPFLAGS) $< | $(MIGCOM) -n -list $@; \ + else > $@; fi +hurd.msgids: $(patsubst %.defs,%.msgids,$(filter %.defs,$(INSTHDRS))) + cat $^ > $@ # # The following rules assist in creating an `Xioctl.defs' file |