[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch to close task #1017
From: |
Harley D. Eades |
Subject: |
patch to close task #1017 |
Date: |
Fri, 5 Aug 2005 11:47:17 -0500 |
Here is a patch for the $(HURD_SRC)/hurd/Makefile to install all the msgid
files to $(prefix)/share/msgids.
Can we get this commited so this task can be closed? I posted a few days ago
asking for an agreement on where to store the files, Alfred was the only one
who agreed(or even commented). Is this ok?
#ifdefe BRAINSTORMING
What does everyone think of changing `make hurd.msgids` to `make msgids`?
Since the former builds more then just hurd.msgids.
#endif /* BRAINSTORMING */
hde@clubber:~/devel/hurd$ patch -p0 <install_msgids.patch
patching file hurd/Makefile
hde@clubber:~/devel/hurd-obj/hurd$ make hurd.msgids
.....
hde@clubber:~/devel/hurd-obj/hurd$ make install-msgids
mkdir /home/hde/devel/share
mkdir /home/hde/devel/share/msgids
/usr/bin/install -c -m 644 *.msgids /home/hde/devel/share/msgids
hde@clubber:~/devel/hurd$ diff -ru ../hde_home/hurd/hurd/Makefile hurd/Makefile
> install_msgids.patch
hde@clubber:~/devel/hurd$ cat install_msgids.patch
--- ../hde_home/hurd/hurd/Makefile 2005-07-25 06:09:42.000000000 -0400
+++ hurd/Makefile 2005-08-05 07:35:43.000000000 -0400
@@ -38,6 +38,11 @@
else > $@; fi
hurd.msgids: $(patsubst %.defs,%.msgids,$(filter %.defs,$(INSTHDRS)))
cat $^ > $@
+
+MSGIDIR = $(prefix)/share/msgids
+install-msgids:
+ @$(MKINSTALLDIRS) $(MSGIDIR)
+ $(INSTALL_DATA) *.msgids $(MSGIDIR)
#
# The following rules assist in creating an `Xioctl.defs' file
hde@clubber:~/devel/hurd$
Happy Hacking
Harley
- patch to close task #1017,
Harley D. Eades <=
Re: patch to close task #1017, Alfred M. Szmidt, 2005/08/05