[dmd-internals] [D-Programming-Language/dmd] dbd904: durn, forgot elfobj

Jacob Carlborg doob at me.com
Fri Jul 13 05:56:29 PDT 2012


On Jul 13, 2012, at 02:27 PM, Jason House <jason.james.house at gmail.com> wrote:

> On Jul 13, 2012, at 4:33 AM, Don Clugston <dclugston at gmail.com> wrote:
>
> > On 12 July 2012 21:01, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> >> On Thursday, July 12, 2012 11:51:44 GitHub wrote:
> >>> durn, forgot elfobj
> >>
> >> I don't know exactly what your process is in terms of how you manage adding
> >> files and how you use git and whatnot, but if you run
> >>
> >> git status
> >>
> >> it will tell you which files have been changed and which have not been added.
> >> So, unless you routinely have files sitting in your local repository which
> >> aren't supposed to be added (and which don't make sense to put in .gitignore
> >> for whatever reason),
> >
> > Well I have that situation 100% of the time, and I bet Walter does too.
> > Working on the compiler is currently impossible without modifying the
> > makefile, largely thanks to some pedant who insisted that 'make'
> > should make a release build.
>
> There are several options for this. The best one is probably making an extra makefile. Gnu make has a well documented order of files it searches to find the default makefile. You can hijack make by defining a higher priority make file and put development targets in there. Ideally that'd be done by calling make on the other makefile. You can then add your customized makefile to .gitignore. You can also add .gitignore to .gitignore
 
<project>/.git/info/exclude is used for ignoring files that shouldn't be put into .gitignore.

--
/Jacob Carlborg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20120713/92b2e92d/attachment-0001.html>


More information about the dmd-internals mailing list