Package: debhelper
Version: 13.9.1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi, this bug is really similar to #1006805, but this time the suggestion
applies to CMake.

The `cmake --install` command has existed since CMake 3.15[1], and the most
useful feature that this command has compared to plain `make install` is
support for the `--component` flag, which is really handy when doing partial
builds (-arch or -indep-only).

dh_auto_install currently invokes `cd builddir && make -j4 install DESTDIR=dir
AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"`; this could be
roughly translated to `cmake --install builddir --prefix=dir --strip` (note
that using the DESTDIR env var instead of the --prefix option is also
supported[2]).

[1]: https://cmake.org/cmake/help/latest/release/3.15.html#command-line
[2]: https://cmake.org/cmake/help/latest/envvar/DESTDIR.html


- -- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev            20220109.1
ii  dh-autoreconf            20
ii  dh-strip-nondeterminism  1.13.0-1
ii  dpkg                     1.21.9
ii  dpkg-dev                 1.21.9
ii  dwz                      0.14-1
ii  file                     1:5.41-4
ii  libdebhelper-perl        13.9.1
ii  libdpkg-perl             1.21.9
ii  man-db                   2.10.2-3
ii  perl                     5.34.0-5
ii  po-debconf               1.0.21+nmu1

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQS6VuNIvZRFHt7JcAdKkgiiRVB3pwUCYzC7ghQcYW5kcmVhQHBh
cHBhY29kYS5pdAAKCRBKkgiiRVB3p4RxAP4331ZZNBFXG8ocKa9ekxoa8o8rv23r
ijuKJDZz2n5ppQD+M4MBTjq1jACUzPQ71lDuXfZjMhFQn3un/E8+ohCfhg4=
=DlpF
-----END PGP SIGNATURE-----

Reply via email to