chiark / gitweb /
Makefile.in: Support installation from a `VPATH' build.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 19 Sep 2019 20:01:24 +0000 (20:01 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 21 Sep 2019 09:50:18 +0000 (10:50 +0100)
I was pleasantly surprised that Secnet cross-compiles without
significant trouble, but then tripped over this at the very end.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Acked-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile.in

index 6b6aeb741930c5d29d9104036a86e44b2fb43b14..ed8c205367e9492395ae42e80adc4d62282cb4da 100644 (file)
@@ -189,7 +189,7 @@ install: installdirs
        $(INSTALL_DATA) ${srcdir}/ipaddrset.py $(prefix)/share/secnet/ipaddrset.py
        $(INSTALL_SCRIPT) ${srcdir}/polypath-interface-monitor-linux \
                $(datarootdir)/secnet/.
-       $(INSTALL_DATA) secnet.8 $(mandir)/man8/secnet.8
+       $(INSTALL_DATA) ${srcdir}/secnet.8 $(mandir)/man8/secnet.8
 
 install-force:
        rm -f $(STALE_PYTHON_FILES)