From f085081a67d43dd6ea25cfc9e5c56113dfe52e4f Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Fri, 30 Apr 2021 13:13:29 +0200 Subject: [PATCH] Fix building DEB packages Signed-off-by: Robert Baldyga --- tools/pckgen.d/deb/debian/CAS_NAME.manpages | 2 +- tools/pckgen.d/deb/debian/rules | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/pckgen.d/deb/debian/CAS_NAME.manpages b/tools/pckgen.d/deb/debian/CAS_NAME.manpages index 3b87284..5b3e32e 100644 --- a/tools/pckgen.d/deb/debian/CAS_NAME.manpages +++ b/tools/pckgen.d/deb/debian/CAS_NAME.manpages @@ -1,3 +1,3 @@ utils/opencas.conf.5 -utils/casadm.8 utils/casctl.8 +casadm/casadm.8 diff --git a/tools/pckgen.d/deb/debian/rules b/tools/pckgen.d/deb/debian/rules index a8e9f2c..67b969c 100755 --- a/tools/pckgen.d/deb/debian/rules +++ b/tools/pckgen.d/deb/debian/rules @@ -9,15 +9,15 @@ override_dh_auto_configure : override_dh_auto_build : - (cd utils/; ./cas_version_gen build) + (cd tools/; ./cas_version_gen build) make -C casadm override_dh_auto_install : - make -C casadm install_files DESTDIR="$(shell pwd)/debian/tmp" - make -C utils install_files DESTDIR="$(shell pwd)/debian/tmp" + (cd casadm; make install_files DESTDIR="$(shell pwd)/debian/tmp") + (cd utils; make install_files DESTDIR="$(shell pwd)/debian/tmp") # clean and generate version again before installing sources for DKMS make distclean - (cd utils/; ./cas_version_gen) + (cd tools/; ./cas_version_gen) override_dh_dkms : dh_dkms -V $(DEB_VERSION_UPSTREAM)