[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
automake 1.4-p5 install-lispLISP @list=... bug
From: |
Tim Mooney |
Subject: |
automake 1.4-p5 install-lispLISP @list=... bug |
Date: |
Fri, 27 Jul 2001 18:19:47 -0500 (CDT) |
If I use automake 1.4-p5 to rebuild the Makefile.ins for a package (e.g.
gettext 0.10.39) that has lisp components, it generates an `install-lispLISP'
target that has a line that looks like this:
@list='$(lisp_LISP)'; for p in $$list; do \
At least some shells don't grok that: installing gettext 0.10.39 on Solaris
2.6, I get:
/bin/sh ../mkinstalldirs /tmp/build/gettext/local/gnu/bin
/local/gnu/bin/install -c gettextize /tmp/build/gettext/local/gnu/bin/gettextize
mkdir /tmp/build/gettext/local/gnu/share/emacs
mkdir /tmp/build/gettext/local/gnu/share/emacs/site-lisp
/bin/sh: @list=po-mode.el: not found
gmake[2]: *** [install-lispLISP] Error 1
gmake[2]: Leaving directory `/local/src/RPM/BUILD/gettext-0.10.39/misc'
It appears that the `@' in front of list=..., to turn off output from make,
is a fairly recent addition to automake's lisp.am .
The simple fix is just to undo the addition of the @. That may not be
the most desireable fix -- obviously someone added it for a reason.
The patch after my sig takes the easy route, and just removes the @ .
Tim
--
Tim Mooney address@hidden
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
diff -ur automake-1.4-p5.orig/lisp.am automake-1.4-p5/lisp.am
--- automake-1.4-p5.orig/lisp.am Sun Jul 15 11:22:09 2001
+++ automake-1.4-p5/lisp.am Fri Jul 27 18:03:54 2001
@@ -21,7 +21,7 @@
$(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 \
+ 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"; \
- automake 1.4-p5 install-lispLISP @list=... bug,
Tim Mooney <=