/[hurd]/hurd/hurd/Makefile
ViewVC logotype

Diff of /hurd/hurd/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by marcus, Thu Aug 22 21:25:04 2002 UTC revision 1.28.2.1 by ams, Fri Aug 26 07:39:28 2005 UTC
# Line 1  Line 1 
1  #   Copyright (C) 1993,94,95,96,99,2002 Free Software Foundation  #   Copyright (C) 1993,94,95,96,99,2002,2005 Free Software Foundation
2  #  #
3  #   This program is free software; you can redistribute it and/or  #   This program is free software; you can redistribute it and/or
4  #   modify it under the terms of the GNU General Public License as  #   modify it under the terms of the GNU General Public License as
# Line 22  DIST_FILES = subsystems $(notdir $(hdrs) Line 22  DIST_FILES = subsystems $(notdir $(hdrs)
22    
23  INSTHDRS = hurd_types.h version.h ioctl_types.h paths.h shared.h console.h \  INSTHDRS = hurd_types.h version.h ioctl_types.h paths.h shared.h console.h \
24          $(notdir $(wildcard $(srcdir)/*.defs))          $(notdir $(wildcard $(srcdir)/*.defs))
25    MSGIDS := hurd.msgids $(patsubst %.defs,%.msgids,$(filter %.defs,$(INSTHDRS)))
26    
27  include ../Makeconf  include ../Makeconf
28    
29  install-headers install: $(includedir)/hurd \  all: $(MSGIDS)
30    
31    install: install-msgids install-headers
32    install-headers: $(includedir)/hurd \
33          $(addprefix $(includedir)/hurd/,$(INSTHDRS))          $(addprefix $(includedir)/hurd/,$(INSTHDRS))
34    install-msgids: $(MSGIDS) $(datadir)/msgids; $(INSTALL_DATA) $^
35    
36  $(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@  $(includedir)/hurd/%: $(srcdir)/%; $(INSTALL_DATA) $< $@
37    
38  $(includedir)/hurd:;mkdir -p $@  $(datadir)/msgids $(includedir)/hurd:;mkdir -p $@
39    
40  %.msgids: $(srcdir)/%.defs  %.msgids: $(srcdir)/%.defs
41          if grep -q '^subsystem' $<; \          if grep -q '^subsystem' $<; \

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.28.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26