[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake-1.4-p2 install/uninstall target bug
From: |
Bruno Haible |
Subject: |
Re: automake-1.4-p2 install/uninstall target bug |
Date: |
Thu, 26 Jul 2001 22:12:06 +0200 (CEST) |
Gary V. Vaughan writes:
> > I think it is better to check $(lispdir), because the user might have
> > run `configure --with-lispdir=/foo'. I'll do this shortly.
>
> Backported Tom's fix into branch-1-4.
Thanks. But the fix in automake-1.4-p5 still has a bug: With IRIX 6
make, "make install" leads to
mkdir /prefix/share/emacs
mkdir /prefix/share/emacs/site-lisp
sh[3]: @list=po-mode.el: not found
*** Error code 127 (bu21)
The reason is an extraneous '@' sign in the middle of a sequence of
shell commands. Here is a fix.
*** automake-1.4-p5/lisp.am.bak Sun Jul 15 18:22:09 2001
--- automake-1.4-p5/lisp.am Thu Jul 26 22:11:13 2001
***************
*** 21,27 ****
$(mkinstalldirs) $(DESTDIR)$(@address@hidden); \
## Funny invocation because Makefile variable can be empty, leading to
## a syntax error in sh.
! @list='$(@address@hidden)'; for p in $$list; do \
## A header file can be in the source directory or the build directory.
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@address@hidden)/$$p"; \
--- 21,27 ----
$(mkinstalldirs) $(DESTDIR)$(@address@hidden); \
## Funny invocation because Makefile variable can be empty, leading to
## a syntax error in sh.
! list='$(@address@hidden)'; for p in $$list; do \
## A header file can be in the source directory or the build directory.
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@address@hidden)/$$p"; \