To inlcude our self-written class we are currently using relative paths (\documentclass{../ourclass}), which triggers a warning (wrong class provided) and is rather ugly. The solution to this problem is discussed in these questions, for example:
- Where do I place my own .sty or .cls files, to make them available to all my .tex files?
- Including a relative path to a class file
But none of these questions discusses versioned multi-user/platform git repositories. The ideal situation would be that a new member or a member that got a new computer just checks out the repository and can build the documents as long as he has an up-to-date standard TeX distribution. So that the repository is fully self-containing and no tweaking of local PATH or texmf stuff is needed for each and every member/computer/operating system - all project-specific configuration should be defined within the git repository.
What are good approaches to such a situation? How to keep the user or per-computer configuration to a minimum and store all build configuration in a central repository?