diff options
author | Tom Tromey <tromey@redhat.com> | 2003-01-14 19:05:09 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2003-01-14 19:05:09 +0000 |
commit | f0f9c7212efcf57efa56ab733a968b95f088fd02 (patch) | |
tree | 0493403c3dd40363f027ff6bb7d377b32fed7088 | |
parent | f38476df09b16c92e0fec28498cacb9f88abae21 (diff) | |
download | classpath-f0f9c7212efcf57efa56ab733a968b95f088fd02.tar.gz |
* doc/api/Makefile.am (install-data-local): Avoid error when
htmllist is empty.
(uninstall-local): Likewise.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/api/Makefile.am | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -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"; \ |