Skip to content
Snippets Groups Projects
Commit ce79ae14 authored by Louis Maillard's avatar Louis Maillard
Browse files

packaging: fix paths when building packages

On Ubuntu/debian, it have happenned that some build have inconsistent
paths like /usr/usr/lib. To avoid this, hard-coded most of the paths
like we are doing in Fedora.

Change-Id: I8c1a3567490e02ac11ec57315bc3a7cc38d02ea0
parent f39d52f7
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,11 @@ override_dh_auto_configure:
-DBUILD_SHARED_LIBS=ON \
-DBUILD_DEPS_STATIC=ON \
-DTRIM_PREFIX_PATH=ON \
-DDNC_SYSTEMD=ON
-DDNC_SYSTEMD=ON \
-DCMAKE_INSTALL_BINDIR=/usr/bin \
-DCMAKE_INSTALL_MANDIR=/usr/share/man \
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/dhtnet \
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DDNC_SYSTEMD_UNIT_FILE_LOCATION=/usr/lib/systemd/system \
-DDNC_SYSTEMD_PRESET_FILE_LOCATION=/usr/lib/systemd/system-preset
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment