Slightly cleaner way to handle docdir subdirectories

This avoids overriding ${docdir} as given at the command line so it
won't be inconsistent in a few Makefiles.