[tei-council] Mods for supporting git

Hugh Cayless philomousos at gmail.com
Mon Nov 24 13:43:36 EST 2014


Done. I also added a modification that will let you drop in a "local.mk"
makefile next to the main one, in which you can override default variables
should you wish. If the file doesn't exist, nothing bad should happen, but
it means people like me can be lazy and not have to type

make XSL=/whatever/Stylesheets html-web

when we want to build stuff, without having to worry about checking in our
tweaks to the Makefile by accident.

Now waiting to see if I get scolded by Mr. Jenkins...

On Mon, Nov 24, 2014 at 1:16 PM, Martin Holmes <mholmes at uvic.ca> wrote:

> HI Hugh,
>
> I don't see why Jinks should break if the default behaviour hasn't
> changed, but the best way to find out is to commit it and see what
> happens. :-)
>
> Thanks for this change, it'll be really useful.
>
> Cheers,
> Martin
>
> On 14-11-24 10:05 AM, Hugh Cayless wrote:
> >   Hi All,
> >
> > I’ve made some changes to the P5 Makefile and to the XSLT that uses
> > svndate.xml so that it’s possible to build the Guidelines in a git repo
> > without messing around with the Makefile. I’ve added a new parameter,
> VCS,
> > that defaults to "svn", but if you use VCS=git when you run make, then it
> > generates a pseudo-svn-info XML file using the git log command, and the
> > process uses that to incorporate the commit and date info.
> >
> > My question is: will anything (like Mr. Jenkins) break horribly if I
> commit
> > this? I’ve tested it and it works just fine locally. You can see the
> > modifications here:
> >
> https://github.com/hcayless/TEI-Guidelines/commit/361126a96250cd7cda3bb271b4b3351c1e0b69a9
> >
> > Thoughts? I'm poised to commit it if nobody objects.
> >
> > Hugh
> >
> --
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
>
> PLEASE NOTE: postings to this list are publicly archived


More information about the tei-council mailing list