2009-08-21 Pavel Roskin <proski@gnu.org>

* Makefile.in (install-local): Remove all files in
	$(DESTDIR)$(pkglibdir) before installing new files there.
This commit is contained in:
proski 2009-08-21 21:40:58 +00:00
parent e53cea1182
commit 7a9094e5bc
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-08-21 Pavel Roskin <proski@gnu.org>
* Makefile.in (install-local): Remove all files in
$(DESTDIR)$(pkglibdir) before installing new files there.
2009-08-18 Felix Zielcke <fzielcke@z-51.de> 2009-08-18 Felix Zielcke <fzielcke@z-51.de>
* util/powerpc/ieee1275/grub-mkrescue.in (grub_mkimage): Use * util/powerpc/ieee1275/grub-mkrescue.in (grub_mkimage): Use

View file

@ -212,6 +212,7 @@ install: install-local
install-local: all install-local: all
$(SHELL) $(mkinstalldirs) $(DESTDIR)$(pkglibdir) $(SHELL) $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
rm -f $(DESTDIR)$(pkglibdir)/*
@list='$(PKGLIB)'; \ @list='$(PKGLIB)'; \
for file in $$list; do \ for file in $$list; do \
if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \ if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \