This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A patch for catgets/Makefile


On Sun, Sep 17, 2000 at 04:49:33PM +0200, Andreas Schwab wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
> 
> |> I know the error is ignored. But ....
> 
> It should use $(make-target-directory).
> 

Here is the new one.

Thanks.


-- 
H.J. Lu (hjl@gnu.org)
--
2000-09-17  H.J. Lu  <hjl@gnu.org>

	* catgets/Makefile ($(objpfx)de/libc.cat): Use
	$(make-target-directory) instead of mkdir.

Index: catgets/Makefile
===================================================================
RCS file: /work/cvs/gnu/glibc/catgets/Makefile,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 Makefile
--- catgets/Makefile	2000/09/07 20:25:43	1.1.1.2
+++ catgets/Makefile	2000/09/17 15:57:56
@@ -55,7 +55,7 @@ tests: $(objpfx)de/libc.cat $(objpfx)tes
 $(objpfx)test1.cat: test1.msg $(objpfx)gencat
 	$(built-program-cmd) -H $(objpfx)test1.h $@ $<
 $(objpfx)de/libc.cat: $(objpfx)de.msg $(objpfx)gencat
-	-mkdir $(objpfx)de
+	$(make-target-directory)
 	$(built-program-cmd) $@ $<
 $(objpfx)tst-catgets.out: $(objpfx)de/libc.cat
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]