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?

Or maybe, can I specify a directory straight from the sources and "map it" to some usr/shared place for that library, and name the package after examples?

In the case, libssh2 builds its 'libssh2-1.8.0/examples/*.c' files and also bootstraps an 'examples/libssh2_config.h' while compiling, and due to the trouble to get this header file, it would be rather useful to have this 'libssh2-1.8.0-examples' package, for instance, with the libssh2_config.h generated at package's build-time.

Or is it better to leave this off as it does not follow any install procedure, and cygwin might not really have a good location to place package-level library usage examples?

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

Reply via email to