Skip to content

Instantly share code, notes, and snippets.

@faveoled
Last active November 13, 2021 18:38
Show Gist options
  • Save faveoled/954d362347a263e78cdf329846425fc5 to your computer and use it in GitHub Desktop.
Save faveoled/954d362347a263e78cdf329846425fc5 to your computer and use it in GitHub Desktop.
Create DEB package from CMake project
# from within project root
# *.tar.gz should be present on upper level
# root directory name : {projectname}-{version}
# bin for runnable binary
debmake --binaryspec <project_name>:bin
# ESSENTIAL: remove debian/changelog nnnn references
# ESSENTIAL: update debian/control section field
debuild -us -uc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment