diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-18 10:07:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-18 10:07:43 +0000 |
commit | 49f0dd0fcb64746b1ef06e094f2fa8091c23637c (patch) | |
tree | 86f964fdcaea6ec3da6036b8f68aff37f4f4dc7b /libintl | |
parent | 1381777907fbd50582e7a5ecd950ca26ca56b26f (diff) |
Peter Kjellerstedt writes:
install.patch:
* Define $(INSTALL) as install in Rules.mak.
* Change all occurrences of install into $(INSTALL).
* Change all occurrences of mkdir -p into $(INSTALL) -d.
install -d is already used in a number of places so
this should not be an additional compatibility problem.
Diffstat (limited to 'libintl')
-rw-r--r-- | libintl/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libintl/Makefile b/libintl/Makefile index ccc8098f3..ab148ba02 100644 --- a/libintl/Makefile +++ b/libintl/Makefile @@ -42,9 +42,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBINTL) $(OBJS) - install -d $(TOPDIR)lib + $(INSTALL) -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBINTL) - install -m 644 $(LIBINTL) $(TOPDIR)lib/ + $(INSTALL) -m 644 $(LIBINTL) $(TOPDIR)lib/ $(MOBJ): $(MSRC) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o @@ -55,9 +55,9 @@ shared: all -o $(LIBINTL_SHARED_FULLNAME) --whole-archive $(LIBINTL) \ --no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \ -L$(TOPDIR)/lib -lc; - install -d $(TOPDIR)lib + $(INSTALL) -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBINTL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBINTL_SHARED).$(MAJOR_VERSION) - install -m 644 $(LIBINTL_SHARED_FULLNAME) $(TOPDIR)lib/; + $(INSTALL) -m 644 $(LIBINTL_SHARED_FULLNAME) $(TOPDIR)lib (cd $(TOPDIR)lib && ln -sf $(LIBINTL_SHARED_FULLNAME) $(LIBINTL_SHARED)); (cd $(TOPDIR)lib && ln -sf $(LIBINTL_SHARED_FULLNAME) $(LIBINTL_SHARED).$(MAJOR_VERSION)); |