Skip to content

Commit b52d4c1

Browse files
committed
Makefile: fix the installed documentation index.html symlink
- make sure the installed share/doc/html/index.html symlink points to the installed file!
1 parent 29ecc48 commit b52d4c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ docs: doc/html/yajl.apdx.html
332332
#
333333
install-docs:: ${DESTDIR}${DOCDIR}/${PACKAGE}/html/
334334
cd doc/html && cp -R ./ ${DESTDIR}${DOCDIR}/${PACKAGE}/html/
335+
rm -f ${DESTDIR}${DOCDIR}/${PACKAGE}/html/index.html
336+
ln -fs ./yajl.cxref.html ${DESTDIR}${DOCDIR}/${PACKAGE}/html/index.html
335337

336338
# See the helper settings below the include of <bsd.obj.mk> for how ${.OBJDIR}
337339
# is properly reset even before it has been made.

0 commit comments

Comments
 (0)