axkibe/lsyncd — Issue #72: --docdir does not change exampledir accordingly
Author: axkibe
Created: 2011-11-16 15:08:06+00:00
State: open

Originally filed by raghu.v....@gmail.com on 2011-07-06T05:13:44

What steps will reproduce the problem?
1. Configure with ./configure --docdir=/usr/local/share/doc/lsyncd-2.0.4
2. make
3. sudo make install

What is the expected output? What do you see instead?
Expected: the Lua examples should go to /usr/local/share/doc/lsyncd-2.0.4; instead they go to /usr/local/share/doc/lsyncd/

What version of the product are you using? On what operating system?
Version 2.0.4 on Fedora 15.

Please provide any additional information below.
Changing @PACKAGE@ to @PACKAGE@-@VERSION@ for "exampledir" in Makefile.am and Makefile.in solves the problem in _MY_ case. Generally, I think, exampledir should be the same as docdir, and an option should be given (to the configure script, say --exampledir) to change exampledir to something else.