• Not install files in Debian package

    From =?UTF-8?B?UHJldcOfZSwgSGlsbWFy?=@21:1/5 to All on Sat May 6 00:20:01 2023
    Hi all,

    sorry, dumb question: currently a Debian package contains all files it
    find below usr/bin and usr/share.

    hille@sid-amd64:~/t2/texlive-bin/debian$ cat texlive-binaries.install
    usr/bin
    usr/share

    Now I need to move some files to another package. Is there an easy
    method the exclude some files from this package or do I have to compile
    a positive list (which might vary between versions)?

    Thanks,
    Hilmar
    --
    sigfault

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dominik George@21:1/5 to All on Sat May 6 00:40:01 2023
    Hi,

    Now I need to move some files to another package. Is there an easy
    method the exclude some files from this package or do I have to compile
    a positive list (which might vary between versions)?

    In debian/rules:

    override_dh_auto_install:
    dh_install -ppackage1 -Xexclude1 -Xexclude1
    dh_install

    This first installs into package1, excluding some files, then the second
    call will install into all remaining binary packages.

    -nik

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

    iKcEABYKAE8WIQSk6zxRYJYchegBkTEK5VTlRg4b3QUCZFWCSTEaaHR0cHM6Ly93 d3cuZG9taW5pay1nZW9yZ2UuZGUvZ3BnLXBvbGljeS50eHQuYXNjAAoJEArlVOVG Dhvd6oIBAOTekL5w4PqYM6UF5iu105/FnNBLQ5TtpZaWrhQcuzwVAQDsB7r0+hPG UpXFNH+v1HK/XQ054ONkWbvVV0uQLS2IBA==
    =taw5
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?UHJldcOfZSwgSGlsbWFy?=@21:1/5 to Dominik George on Sat May 6 13:40:01 2023
    On 06.05.2023 00:25, Dominik George wrote:

    Hi,

    Now I need to move some files to another package. Is there an easy
    method the exclude some files from this package or do I have to compile
    a positive list (which might vary between versions)?

    In debian/rules:

    Well, errrm. I should have looked into my rules file before. Now I use
    the dirty solution to remove there files before the packages are built:

    rm -f debian/texlive-binaries/usr/bin/*luajit*
    rm -f debian/texlive-binaries/usr/share/man/man*/*luajit*

    Thanks for help anyway!

    Hilmar
    --
    sigfault

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)