From 3be90caa7448677af66bf45eb47977d70017a400 Mon Sep 17 00:00:00 2001 From: ferrreo Date: Tue, 20 Jun 2023 17:56:31 +0100 Subject: [PATCH] Update rules --- debian/rules | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/rules b/debian/rules index 3b9e37a..71f3127 100755 --- a/debian/rules +++ b/debian/rules @@ -8,13 +8,9 @@ export DH_VERBOSE = 1 ## Source directory, called upon by $(srcdir) srcdir = $(shell debian/scripts/get_pwd.sh) -## The Root of package number one, called upon by $(pkgdir1) -pkgdir1 = $(srcdir)/debian/pkgdir1 -## The Root of package number two, you can add as many of these as you like -pkgdir2 = $(srcdir)/debian/pkgdir2 ## If building a singular package you can remove the number, and as you guessed you call upon it with $(pkgdir) -# pkgdir = $(srcdir)/debian/pkgdir +pkgdir = $(srcdir)/debian/ananicy-cpp ## === End end of region === @@ -76,7 +72,11 @@ pkgdir2 = $(srcdir)/debian/pkgdir2 override_dh_auto_configure: ./install-deps.sh && ./configure.sh --enable_systemd && ./build.sh cmake --install build/RelWithDebInfo --component Runtime - + +override_dh_auto_install: + install(TARGETS ananicy-cpp RUNTIME DESTINATION $(pkgdir)/usr/bin/ COMPONENT Runtime) + install(FILES $(srcdir)/ananicy-cpp.service DESTINATION $(pkgdir)/usr/lib/systemd/system/ COMPONENT Runtime) + ## === End end of region === ## This here will start the build: