On Mon, Oct 10, 2011 at 06:31:41PM +0200, Gavin Schenk wrote:
Today we reviewed your hints and had a close look to the result of
ptxdist newpackage src-make-prog, but still have issues with it.
Maybe my question was too imprecise.

It is possible to put the in-files into subdirectories e.g.
project/rules/somedir/test.in!
But in this example the corresponding makefile in
project/rules/somedir/test.make is not recognized by ptxdist.

It seems to me, that ptxdist only scans project/rules but not any
subdirs for makefiles.

Right, and this is by design.

Why do you want to use a sub directory? The strategy is usually to put
any project-local .in and .make files into rules/. Any file put there
should be generic enough to be used in any config/platform to be used
with the project, so I cannot imagine a good reason for splitting up
into sub directories.

rsc

The only reason is that I want to share the .in and .make files using subversion, by checking out a common rules-folder as external into the project. Changes to this external are visible to all colleagues immediately, the external can be sticked to a version, switched to trunk, tag, branch or whatever one need.

My solution is to check out the common_rules beside the projects rules-folder and copy the common_rules content, using lndir, into the rules-folder. That meets all requirements, I only have to update the symbolic links after an update from subversion.

Thanks and Regards,
Gavin

--
ptxdist mailing list
[email protected]

Reply via email to