Commit 200ed0b
authored
cmake: fix destination path (#34)
`share/${GROONGA_NORMALIZER_MYSQL_PROJECT_NAME}` is shown
`share/groonga-normalizer-mysql`.
Thus, `README.md` and `doc/text/lgpl-2.0.txt`are installed in
`share/groonga-normalizer-mysql/`.
However, these files are installed `share/doc/groonga-normalizer-mysql/`
for RPM packages.
See:
https://github.com/groonga/groonga-normalizer-mysql/blob/main/packages/yum/groonga-normalizer-mysql.spec.in#L59C1-L59C42
I change destination path `share/groonga-normalizer-mysql` to
`share/doc/groonga-normalizer-mysql`.
---
https://github.com/groonga/groonga-normalizer-mysql/blob/main/CMakeLists.txt#L97
is defined `DESTINATION "${CMAKE_LIBDIR}/pkgconfig/"`.
However, `CMAKE_LIBDIR` is not definition. (Probably, `CMAKE_LIBDIR` is
null.)
Thus, `groonga-normalizer-mysql.pc` is installed to `pkgconfig/`. This
install path is not expected.
I change destination path `pkgconfig/` to `usr/lib64(or lib)/pkgconfig`.1 parent 019f56e commit 200ed0b
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | | - | |
| 105 | + | |
0 commit comments