Commit Graph
22 Commits
Author SHA1 Message Date
Josh Wood cf3895234e Plan9/mkfile: Don't build mktags nor generate blocktags
Remove the obsolete workaround of directly building mktags
and running it in Plan9/mkfile. The upstairs configure.sh
and make no longer fails to generate the blocktags file.

Update Plan9/README.md generally.
2021-11-05 20:20:05 -05:00
mischief 0f2e9d44f9 Plan9/mkfile: fix dependencies and virtual targets, add uninstall 2018-10-23 04:54:20 -07:00
david parsons 311b33218f set the Plan9 CFLAGS to the two extensions (instead of having them be part of the CC macro) and wipe out any CFLAGS (like -T, which tells the Plan9 posix C compiler to be stupid) that already exists 2018-09-19 08:14:37 -07:00
Nathan Phillip Brink 811a8560dd Convert --with-dl to runtime flags for issue #124.
Instead of specifying `./configure.sh --with-dl=both`, specify
`-fdlextra` or `MKD_DLEXTRA` at runtime.
2015-07-13 03:24:29 +00:00
Josh Wood 2ac3986522 Doc: tweakme
Correct capitalization typo.
2015-05-13 06:46:11 -05:00
Josh Wood f1231f0e4d Doc: update README.md
Clarify englishing.
2015-05-12 19:36:15 -05:00
Josh Wood a89240ec01 Update README.md
Remove the pandoc header.
2015-05-12 10:32:12 -05:00
Josh Wood 28e84f1336 Rename README to README.md 2015-05-12 10:23:45 -05:00
Joshua Wood 463a7251cc Remove mention of --enable-div from README.
I don't see enable-div mentioned upstairs, and ../tests/div.t passes without this option in CONFIG.
2015-05-11 05:02:13 -05:00
Joshua Wood 4ef3871959 Doc fmt.
Simplify tabbiness and use markdown more in README.
2015-05-11 04:56:37 -05:00
Joshua Wood 905ebd89ef Update the example build to pass ../tests/dl.t.
Must have --with-dl=both to pass all included tests. Change the example and explain.

Note that on *NIX a bare ./configure.sh && make test passes all.
2015-05-11 03:17:03 -05:00
Joshua Wood 01d838d14c Strip out references to 'relaxed-emphasis' configuration option.
Relaxed-emphasis is now always built, then controlled with a runtime off switch. This commit manually follows upstream commit b787bc3459 to synchronize (about relax) with the discount source root one directory up.
2015-05-10 23:10:32 -05:00
Joshua Wood 20b5de8cb4 Honor the CC variable we already set up in mkfile, so that mktags compiled with same args as everything else. 2015-05-10 14:40:03 -05:00
Joshua Wood eb9b93128b Make discount build on Plan 9 again.
The Makefile we end up with on Plan 9 doesn't know how to build mktags.
So where a *NIX make does something like:
  cc mktags.c -o mktags && ./mktags > blocktags
on Plan 9 we don't compile mktags.c at all, and build Stops there.
Plan9/mkfile now includes script to build mktags and deliver its output to the blocktags file before building markdown binary.
2015-05-10 09:04:29 -05:00
David Parsons a26cb8ba1a Plan9 fixes from Josh Wood:
>[...] changes to the APE environment had broken Discount builds
>there. The compiler is being choosy in a new way about *snprintf,
>and no longer liked Csio.c:29.
>
>Working around this takes a one-line edit in Plan9/mkfile, as shown
>in the attached patch, and results in a clean build, passes tests,
>etc.
>
>Long form explanation from the APE docs, for curiosity's sake:
>
>>_C99_SNPRINTF_EXTENSION
>>This extension permits the use of the return values of .I snprintf
>>and .I vsnprintf . Before C99, the 1999 C standard, these functions
>>usually returned the number of bytes, excluding terminating NUL,
>>actually stored in the target string. (GNU, as usual, had to be
>>different and returned -1 if the target string was too small.) C99
>>requires them to instead return the number of bytes, excluding
>>terminating NUL, that would have been written into the target string
>>if it were infinitely large or a negative value if an `encoding
>>error' occurs, so old programs compiled under C99 rules will be
>>prone to overrunning their buffers. This extension is a way for the
>>programmer to declare that he or she understands the situation and
>>has adjusted the code being compiled to compensate.
2010-04-09 06:42:30 -07:00
David Parsons 8c5936dde6 Documentation corrections by Josh Wood 2009-10-05 07:34:45 -07:00
David Parsons 83872c7ba8 Plan9 manpage changes courtesy of Josh Wood 2009-08-07 12:56:29 -07:00
David Parsons 2dbf88792d Add a couple of files I never checked in 2009-07-31 08:21:43 -07:00
David Parsons e9c6511c64 1. Add More Plan9 + documentation patches from Josh Wood
2. Tweak the paragraph wrapping in `generate()` so that all
   paragraphs in a multiple-paragraph item/blockquote will
   be properly wrapped with `<p>`...`</p>` (or whatever is
   appropriate.)
3. Attempt to follow indentation better inside lists, so
   a list item with multiple paragraphs is parsed correctly
   when the second (& up) paragraphs are indented the same
   as the first paragraph.
2009-07-26 10:53:11 -07:00
David Parsons e5d6de933a Plan9 documentation corrections from Josh Wood 2009-06-17 11:51:09 -07:00
David Parsons c1f5a20363 Changes to the Plan9 code supplied by Josh Wood 2009-06-15 23:22:01 -07:00
David Parsons 027e728b6d Add Plan9 support (from Josh Wood @ utopian.net) 2009-06-14 10:28:09 -07:00