bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake-1.4-p2 install/uninstall target bug


From: Bruno Haible
Subject: automake-1.4-p2 install/uninstall target bug
Date: Thu, 14 Jun 2001 17:13:20 +0200 (CEST)

To reproduce:
- take gettext-0.10.38,
- remove the configure.in lines 111 to 135 (which contain a workaround to this
  bug)
- run "./aclocal.sh aclocal -I m4"
- run "automake --gnits --include-deps Makefile misc/Makefile tests/Makefile"
- run "autoconf" (from autoconf-2.13)

Then in misc/Makefile.in the targets install-lispLISP and uninstall-lispLISP
will use $(lispdir), but this variable is not set if no emacs has been
found on the system.

A fix that works for me is to rewrite lines 162 and 174

    list='$(lisp_LISP)'; for p in $$list; do

to

    list='$(lisp_LISP)'; test '\$(EMACS)' = no || for p in $$list; do

But maybe the test for EMACS should also apply to the preceding
$(mkinstalldirs) $(DESTDIR)$(lispdir) call.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]