Moved CMake modules to a separate directory and disabled local installs of system files when building packages.

The building of packages with CMake now requires the -DPACKAGE=Y flag to be set when configuring CMake.
This commit is contained in:
Markus Makela
2015-01-30 15:45:33 +02:00
parent bbe73d78fd
commit 5d6b805d6e
10 changed files with 75 additions and 59 deletions

5
etc/postinst.in Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
install @CMAKE_INSTALL_PREFIX@/maxscale /etc/init.d/
install @CMAKE_INSTALL_PREFIX@/maxscale.conf /etc/ld.so.conf.d/
/sbin/ldconfig