diff options
-rw-r--r-- | doc/Makefile.am | 5 |
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 \ |