Update rules

This commit is contained in:
ferrreo 2023-06-20 18:00:38 +01:00 committed by GitHub
parent 5610ef9af5
commit 7fcdeb5d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
debian/rules vendored
View File

@ -70,13 +70,9 @@ pkgdir = $(srcdir)/debian/ananicy-cpp
# cp $(srcdir)/pikman $(pkgdir1)/usr/bin/
override_dh_auto_configure:
./install-deps.sh && ./configure.sh --enable_systemd && ./build.sh
./install-deps.sh && ./configure.sh --enable_systemd --prefix=$(pkgdir)/ && ./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: