Packaging: Print some information about supported packages

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-04-17 16:12:08 +02:00
parent 96370e32a3
commit 7d866318c4
1 changed files with 4 additions and 0 deletions

View File

@ -44,12 +44,16 @@ if(NOT CPACK_GENERATOR)
if(rpmbuild_path) if(rpmbuild_path)
message(STATUS "rpmbuild found, enabling RPM for the 'package' target") message(STATUS "rpmbuild found, enabling RPM for the 'package' target")
list(APPEND CPACK_GENERATOR RPM) list(APPEND CPACK_GENERATOR RPM)
else(rpmbuild_path)
message(STATUS "The 'package' target will not build a RPM")
endif(rpmbuild_path) endif(rpmbuild_path)
a_find_program(dpkg_path "dpkg" FALSE) a_find_program(dpkg_path "dpkg" FALSE)
if (dpkg_path) if (dpkg_path)
message(STATUS "dpkg found, enabling DEB for the 'package' target") message(STATUS "dpkg found, enabling DEB for the 'package' target")
list(APPEND CPACK_GENERATOR DEB) list(APPEND CPACK_GENERATOR DEB)
else(dpkg_path)
message(STATUS "The 'package' target will not build a DEB")
endif(dpkg_path) endif(dpkg_path)
endif(NOT CPACK_GENERATOR) endif(NOT CPACK_GENERATOR)