This actually didn't break anything, as the shell expanded $pkgid to the
empty string, but it was still wrong.
idatadir = $(datadir)
idocdir = $(docdir)/libraries/$$pkgid
ihtmldir = $(htmldir)/libraries/$$pkgid
idatadir = $(datadir)
idocdir = $(docdir)/libraries/$$pkgid
ihtmldir = $(htmldir)/libraries/$$pkgid
-html_installed_root = $(ihtmldir)
+html_installed_root = $(htmldir)/libraries
endif
ifneq "$(DOING_BIN_DIST)" "YES"
endif
ifneq "$(DOING_BIN_DIST)" "YES"