summaryrefslogtreecommitdiffstats
path: root/pcitool.spec.in
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-16 20:06:34 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-16 20:06:34 +0100
commit142a1a83472d4dde6e7fdc58a46c6800505f44ab (patch)
tree2e43f3a0435a7e2f69a3f7581b20261ec2f70783 /pcitool.spec.in
parentc1effc7b4959771c3f0b9d6494637b877594582b (diff)
downloadpcitool-142a1a83472d4dde6e7fdc58a46c6800505f44ab.tar.gz
pcitool-142a1a83472d4dde6e7fdc58a46c6800505f44ab.tar.bz2
pcitool-142a1a83472d4dde6e7fdc58a46c6800505f44ab.tar.xz
pcitool-142a1a83472d4dde6e7fdc58a46c6800505f44ab.zip
Use GNUInstallDirs
Diffstat (limited to 'pcitool.spec.in')
-rw-r--r--pcitool.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcitool.spec.in b/pcitool.spec.in
index 8de8002..ddae001 100644
--- a/pcitool.spec.in
+++ b/pcitool.spec.in
@@ -119,7 +119,9 @@ Pcilib Web API and small demo web server.
%build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
-DPCILIB_PLUGIN_DIR=%{_libdir}/pcilib${PCILIB_ABI_VERSION}/ -DPCILIB_DATA_DIR=%{_datadir}/pcilib${PCILIB_ABI_VERSION}/ \
- -DLIB_INSTALL_DIR=%{_libdir} -DBIN_INSTALL_DIR=%{_bindir} -DDATA_INSTALL_DIR=%{_datadir} -DINCLUDE_INSTALL_DIR=%{_includedir} -DPYTHON_INSTALL_DIR=%{python2_sitearch} .
+ -DPCILIB_PYTHON_SITEDIR=%{python2_sitearch} \
+ -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_INSTALL_BINDIR=%{_bindir} -DCMAKE_INSTALL_DATADIR=%{_datadir} -DCMAKE_INSTALL_DATAROOTDIR=%{_datadir} -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} .
+
make
make docs