summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-01-14 19:05:09 +0000
committerTom Tromey <tromey@redhat.com>2003-01-14 19:05:09 +0000
commitf0f9c7212efcf57efa56ab733a968b95f088fd02 (patch)
tree0493403c3dd40363f027ff6bb7d377b32fed7088
parentf38476df09b16c92e0fec28498cacb9f88abae21 (diff)
downloadclasspath-f0f9c7212efcf57efa56ab733a968b95f088fd02.tar.gz
* doc/api/Makefile.am (install-data-local): Avoid error when
htmllist is empty. (uninstall-local): Likewise.
-rw-r--r--ChangeLog6
-rw-r--r--doc/api/Makefile.am4
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 <tromey@redhat.com>
+
+ * doc/api/Makefile.am (install-data-local): Avoid error when
+ htmllist is empty.
+ (uninstall-local): Likewise.
+
2003-01-10 Michael Koch <konqueror@gmx.de>
* 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"; \