This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sub-package with examples extracted from a source tarball's directory.


Am 02.12.2018 um 01:12 schrieb Heavenly Avenger:
Say, if I wanted to create an "-examples" package (of well, libssh2),
but it didn't install the example files to any directory through "make
install".

Do I have to patch makefile so that "make install" places these files
somewhere, like /usr/docs/libssh2/examples?

copy the file in the installation directory with dodoc
after the cyginstall

https://cygwinports.github.io/cygport/src_install_cygpart.html#robo144

something like

src_install() {
        cyginstall
        insinto /usr/share/doc/${PN}/example
        doins ${S}/file...
}

Just wondering... Probaly too much trouble. :)


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]