Bugzilla – Bug 577
Makefile incorrectly installs man pages from $(srcdir)
Last modified: 2014-05-07 08:37:49 CEST
In the Makefile for "make install", the man pages are installed from $(srcdir). However, when using a separate build directory the man pages are built in the build directory. Therefore "make install" fails to work unless building in the source directory.
To reproduce (if it isn't obvious):
1. Untar the NSD source: tar xf nsd-4.0.3.tar.gz
2. Create a build directory alongside the source: mkdir nsd-build && cd nsd-build
3. Configure: ../nsd-4.0.3/configure
4. Build: make
5. Attempt install: make install
Step 5 will fail with the following error:
install: ../nsd-4.0.3/nsd.8 does not exist
(because it exists in the current [build] directory).
Hi El Grotto,
Fixed. Thanks for the debug and report!
Best regards, Wouter