packaging: set docdir in calls to make (to get it right on e.g. SuSE systems).
authorMichael Adam <obnox@samba.org>
Sat, 5 Jul 2008 12:42:46 +0000 (14:42 +0200)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 15 Dec 2008 22:50:40 +0000 (09:50 +1100)
commit140768ce79d8ea3af2adb3ac011b58a29a09b50e
treee1860231231f0dbd8133814786c750a8ef25f095
parente50c9667b86160eb5dfb9868aff420b72f799a5f
packaging: set docdir in calls to make (to get it right on e.g. SuSE systems).

Currently docdir = /usr/share/doc is hardcoded in the Makefile.in.
Some systems use a different doc dir (SuSE uses /usr/share/doc/packages).

And not all versions of autoconf provide the --docdir parameter
(2.61 does, while 2.59 does not). So we use the quick solution
to specify "docdir=%{_docdir}" in the make calls in the spec file.

Michael
packaging/RPM/ctdb.spec