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

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