git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: use --unsafe option under Cygwin with asciidoc

From
Junio C Hamano <junkio@cox.net>
Date
May 2, 2007, 16:56 UTC
Message-ID
<7vslaf4121.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<46388CBE.1080605@byu.net>
Eric Blake <ebb9@byu.net> writes:
Show 8 quoted lines
> According to Jari Aalto on 5/2/2007 5:49 AM:
>> New: variable ASCIIDOC_FLAGS was introduced. It was also added to two
>> new targets. The old ASCIIDOC_EXTRA is set to --unsafe under Cygwin to
>> ignore asciidoc error about unsafe include.
>
> This isn't just for cygwin, since it benefits any platform where the
> installed asciidoc is 8.1 or better (asciidoc is currently at 8.2.1 if you
> build the from tarballs).

What unsafe things do we include? Maybe _that_ is what should be fixed?

Also the last time we checked (I cannot take credits for this work -- see "git show origin/todo:TODO" and look for "AsciiDoc"), AsciiDoc 8 had backward compatibility problems, and you needed to add some pragma in asciidoc.conf to make it compatible with sources written for AsciiDoc 7 (i.e. our documentation). However, the pragma is not understood by older asciidoc (and worse, makes older ones abort, as far as I recall), so we cannot just add the pragma and use either AsciiDoc 7 or 8 interchangeably.

Previous: Jari AaltoNext: Junio C Hamano
Message 4 of 6 in “Makefile: use --unsafe option under Cygwin with asciidoc”
  1. Makefile: use --unsafe option under Cygwin with asciidocJari Aalto, May 2, 2007
  2. Eric BlakeMay 2, 2007
  3. Jari AaltoMay 2, 2007
  4. Junio C HamanoMay 2, 2007
  5. Junio C HamanoMay 5, 2007
  6. Junio C HamanoMay 5, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.