Changeset View
Changeset View
Standalone View
Standalone View
autotests/kdoctools-install/test.cmake
- This file was added.
1 | # check presence of installed files | ||||
---|---|---|---|---|---|
2 | set(MANPATH destdir/share/man) | ||||
3 | set(HTMLPATH destdir/share/doc/HTML) | ||||
4 | set(FILES | ||||
5 | # from kdoctools_install | ||||
6 | ${MANPATH}/man1/checkXML5.1 | ||||
7 | ${MANPATH}/man1/meinproc5.1 | ||||
8 | ${MANPATH}/man7/kf5options.7 | ||||
9 | ${MANPATH}/man7/qt5options.7 | ||||
10 | # from add_subdirectory | ||||
11 | ${MANPATH}/es/man1/kjscmd.1 | ||||
12 | ${MANPATH}/fr/man1/kjscmd.1 | ||||
13 | ${HTMLPATH}/fr/foobar/index.cache.bz2 | ||||
14 | ${HTMLPATH}/es/foobar/index.cache.bz2 | ||||
15 | ${HTMLPATH}/es/kioslave5/fooslave/index.cache.bz2 | ||||
16 | ) | ||||
17 | | ||||
18 | foreach(f ${FILES}) | ||||
19 | if(NOT EXISTS ${f}) | ||||
20 | message(SEND_ERROR "${f} was not found") | ||||
21 | else() | ||||
22 | message(STATUS "found installed file ${f}") | ||||
23 | endif() | ||||
24 | endforeach() |