mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
Packaging: Print some information about supported packages
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
96370e32a3
commit
7d866318c4
1 changed files with 4 additions and 0 deletions
|
@ -44,12 +44,16 @@ if(NOT CPACK_GENERATOR)
|
|||
if(rpmbuild_path)
|
||||
message(STATUS "rpmbuild found, enabling RPM for the 'package' target")
|
||||
list(APPEND CPACK_GENERATOR RPM)
|
||||
else(rpmbuild_path)
|
||||
message(STATUS "The 'package' target will not build a RPM")
|
||||
endif(rpmbuild_path)
|
||||
|
||||
a_find_program(dpkg_path "dpkg" FALSE)
|
||||
if (dpkg_path)
|
||||
message(STATUS "dpkg found, enabling DEB for the 'package' target")
|
||||
list(APPEND CPACK_GENERATOR DEB)
|
||||
else(dpkg_path)
|
||||
message(STATUS "The 'package' target will not build a DEB")
|
||||
endif(dpkg_path)
|
||||
endif(NOT CPACK_GENERATOR)
|
||||
|
||||
|
|
Loading…
Reference in a new issue