[cmake] mark manual as an optional component for install

This commit is contained in:
David Adam 2018-01-21 20:37:29 +08:00
parent ae9b5871fb
commit 164108d0a9

View file

@ -183,8 +183,9 @@ INSTALL(FILES ${MANUALS} DESTINATION ${mandir}/man1/ OPTIONAL)
# $(INSTALL) -m 644 $$i $(DESTDIR)$(docdir); \ # $(INSTALL) -m 644 $$i $(DESTDIR)$(docdir); \
# fi; \ # fi; \
# done; # done;
# Building the manual is optional
INSTALL(DIRECTORY user_doc/html/ # Trailing slash is important! INSTALL(DIRECTORY user_doc/html/ # Trailing slash is important!
DESTINATION ${docdir}) DESTINATION ${docdir} OPTIONAL)
INSTALL(FILES CHANGELOG.md DESTINATION ${docdir}) INSTALL(FILES CHANGELOG.md DESTINATION ${docdir})
# $v $(INSTALL) -m 644 share/lynx.lss $(DESTDIR)$(datadir)/fish/ # $v $(INSTALL) -m 644 share/lynx.lss $(DESTDIR)$(datadir)/fish/