summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-02-23 17:43:09 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-01 16:09:52 +0100
commit3b7c7293ee18d3c8881f763aa98355f5bc7b7dc6 (patch)
treeec47fea33d0d99012647309b75d9f77116146ac8 /doc/Makefile.am
parentdoc: change info file name from FRR -> frr (diff)
downloadfrr-3b7c7293ee18d3c8881f763aa98355f5bc7b7dc6.tar.xz
frr-3b7c7293ee18d3c8881f763aa98355f5bc7b7dc6.zip
doc: Create infodir before writing to it and prefix with DESTDIR
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b822a3c68..9d2285a44 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -86,8 +86,9 @@ developer.html:
# info target, handled by automake installation
install-data-local: frr.info
- gzip < user/_build/texinfo/frr.info > ${infodir}/frr.info.gz
- install-info user/_build/texinfo/frr.info ${infodir}/dir
+ install -d ${DESTDIR}${infodir}
+ gzip < user/_build/texinfo/frr.info > ${DESTDIR}${infodir}/frr.info.gz
+ install-info user/_build/texinfo/frr.info ${DESTDIR}${infodir}/dir
# include sources for shipped docs
EXTRA_DIST = manpages/defines.rst \