|
|
@ -57,6 +57,15 @@ ifndef _cdbs_class_cmake
|
|
|
|
include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
|
|
|
|
include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifdef _cdbs_class_cmake
|
|
|
|
|
|
|
|
ifneq "$(wildcard /usr/bin/ninja)" ""
|
|
|
|
|
|
|
|
MAKE = ninja -v
|
|
|
|
|
|
|
|
DEB_MAKE_ENVVARS += DESTDIR=$(DEB_DESTDIR)
|
|
|
|
|
|
|
|
DEB_MAKE_INSTALL_TARGET = install
|
|
|
|
|
|
|
|
DEB_CMAKE_NORMAL_ARGS += -GNinja
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifndef _cdbs_rules_patchsys_quilt
|
|
|
|
ifndef _cdbs_rules_patchsys_quilt
|
|
|
|
DEB_PATCHDIRS := debian/patches/common debian/patches
|
|
|
|
DEB_PATCHDIRS := debian/patches/common debian/patches
|
|
|
|
endif
|
|
|
|
endif
|
|
|
@ -219,7 +228,7 @@ debian/stamp-kde-apidox:
|
|
|
|
|
|
|
|
|
|
|
|
common-install-indep:: common-install-kde-apidox
|
|
|
|
common-install-indep:: common-install-kde-apidox
|
|
|
|
common-install-kde-apidox::
|
|
|
|
common-install-kde-apidox::
|
|
|
|
$(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
|
|
|
|
$(if $(DEB_KDE_APIDOX),+DESTDIR=$(DEB_DESTDIR) $(DEB_MAKE_INVOKE) install-apidox)
|
|
|
|
|
|
|
|
|
|
|
|
cleanbuilddir::
|
|
|
|
cleanbuilddir::
|
|
|
|
-$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
|
|
|
|
-$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
|
|
|
|