8000 debian: replace with CPack DEB Generator by sreimers · Pull Request #1247 · baresip/re · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

debian: replace with CPack DEB Generator #1247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -674,15 +674,12 @@ if(LIBRE_BUILD_STATIC)
endif()
endif()


##############################################################################
#
# Packaging section
# PKGCONF section
#

if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_subdirectory(packaging)
endif()

if(NOT PC_LIBNAME)
set(PC_LIBNAME "re")
endif()
Expand Down Expand Up @@ -713,7 +710,6 @@ configure_file(packaging/libre.pc.in libre.pc @ONLY)
# Install section
#


install(TARGETS ${RE_INSTALL_TARGETS}
EXPORT libre
RUNTIME
Expand Down Expand Up @@ -769,6 +765,16 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libre.pc
)


##############################################################################
#
# Packaging section
#

if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_subdirectory(packaging)
endif()


##############################################################################
# Test
#
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ release:
dist: build
cmake --install build --prefix dist

.PHONY: deb
deb: release
cd build && cpack -G DEB

.PHONY: test
test: build
cmake --build build --parallel -t retest
Expand Down
Loading

Uh oh!

There was an error while loading. Please reload this page.

Loading
0