I use Slackware Linux and I install most applications from the source. I would like to know how to manage the source files, specially the header files, so they are available to other applications.
Best way to get an idea is taking look at the Slackware build scripts (located in
That said, the install part of the application build system usually puts these files (headers) in the appropriate place, i.e.
As for the sources - generally speaking you should not need anything else than headers once you compile the application (apart from any header files you need when you want to compile another piece of code against it). Unless you want to actually develop the software, you discard the sources right after compilation. And if you want to develop you usually keep a separate tree somewhere under version control and do not build your packages from this devel tree, rather from a more stable one.
Last but not the least, you really want to make a package first and only install that (i.e. not running