XSes has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I want to use MakeMaker to create a Makefile in a project with xS. And it should be possible for several people to remake the files. But MakeMaker creates a Makefile wherein you can find several "chmod"s. And I can't chmod a file created by another user. At the moment, I'm using a very messy and ugly workarount, forcing to change the Makefile manually after automatically building it.
I would like to continue using MakeMaker, to be system-independent.
Could anybody tell me how to force MakeMaker not to use chmod?
Or give me any clues how I could write my own Makefile, system independent?
Or, if you think this question is totally at the wrong place here (I'm new in this cloister), please tell me a mailing list better suiting my question!

XSes

Replies are listed 'Best First'.
Re: Make for multiusers
by hossman (Prior) on Jan 23, 2002 at 07:26 UTC
    (disclaimer: I know nothing about MakeMaker)

    Generally speaking, i would advise against multiple developers working on the same copy of a (set of) file(s).

    It's almost allways worth it to use version control, and have each person check out their own copy of the files.

    I would guess that MakeMaker doesn't worry about the leaving files world writable for that reason: It creates files for the current user, which are writable by the current user. Other users should go get their own copy to play with.