bug-automake
[Top][All Lists]
Advanced

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

automake-1.4-p2 uninstall target bug


From: Bruno Haible
Subject: automake-1.4-p2 uninstall target bug
Date: Thu, 14 Jun 2001 17:12:39 +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 misc/Makefile.in line 175 will read

  rm -f $(lispdir)/$$p $(DESTDIR)$(lispdir)/$${p}c; \

such that "make uninstall" will not remove the .el file if DESTDIR is set
to a nonempty value.

A fix that works for me is to rewrite that line to

  rm -f $(DESTDIR)$(lispdir)/$$p $(DESTDIR)$(lispdir)/$${p}c; \

I have already reported this bug a long time ago, but there has been no
automake release since then that fixes it.

Bruno



reply via email to

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