From f0f9c7212efcf57efa56ab733a968b95f088fd02 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 14 Jan 2003 19:05:09 +0000 Subject: * doc/api/Makefile.am (install-data-local): Avoid error when htmllist is empty. (uninstall-local): Likewise. --- ChangeLog | 6 ++++++ doc/api/Makefile.am | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bbd75e6df..8cde7f6b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-14 Tom Tromey + + * doc/api/Makefile.am (install-data-local): Avoid error when + htmllist is empty. + (uninstall-local): Likewise. + 2003-01-10 Michael Koch * java/awt/DisplayMode.java diff --git a/doc/api/Makefile.am b/doc/api/Makefile.am index dccb9cbde..5db7b1027 100644 --- a/doc/api/Makefile.am +++ b/doc/api/Makefile.am @@ -21,7 +21,7 @@ htmllist := $(shell $(FIND) html | grep -v "^html$$") install-data-local: $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/api - @for p in $(htmllist); do \ + @list='$(htmllist)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ if test -f "$$p"; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/api/$$f"; \ @@ -32,7 +32,7 @@ install-data-local: done uninstall-local: - @for p in $(htmllist); do \ + @list='$(htmllist)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ if test -f "$$p"; then \ echo " rm -f $(DESTDIR)$(pkgdatadir)/api/$$f"; \ -- cgit v1.2.1