autotools: Fix doc_DATA install.
authorRalph Giles <giles@thaumas.net>
Wed, 5 Oct 2016 20:07:00 +0000 (13:07 -0700)
committerRalph Giles <giles@thaumas.net>
Wed, 5 Oct 2016 20:12:01 +0000 (13:12 -0700)
commit21a1a71438798625bfe9f02884a25ebdeedb884c
treecce0afa182e76fd3bb0c2dc492ecf7746ef240cb
parentb7ef20e0fa2810fc91426d8b7c462e243567a772
autotools: Fix doc_DATA install.

Both the generated format specification document and the static
html documents depend on the logo in fish_xiph_org.png.

Unfortunately we can't list them both in their respective
dependencies because both are passed to doc_DATA for installation
and automake doesn't seem to remove duplicates, causing
/usr/bin/install to complain about the overwrite.

I couldn't find a good solution to this. Wrapping the doc_DATA
value in GNU make's $(sort /list/) function would work, but
automake warns about the non-portable construct. Instead, I've
just removed it from the spec dependency list and appended it
manually.
doc/Makefile.am