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

[PATCH v2 0/2] DEFAULT_DOC_TARGET

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 3, 2013, 19:05 UTC
Message-ID
<1357239920-2201-1-git-send-email-gitster@pobox.com>
This allows things like:
  $ DEFAULT_DOC_TARGET=html make doc
  $ DEFAULT_DOC_INSTALL_TARGET=html make install-doc

on a platform that does not have manpage viewer. Which is not very useful, given that you can already say

  $ make install-html

on such a platform, and these install-$format targets will not go away.

The real motivation behind this was to let me say:
  $ git checkout $some_old_fork_point
  $ DEFAULT_DOC_TARGET=git-push.1 make doc

while updating the sources to the documentation for the maintainance track, without having to format everything else that is different between the old fork point and the primary branch I usually work on.

The first one was discussed some time ago on the list and all the fixes mentioned on the thread already squashed in. The second one is merely for completeness.

For previous round, see:
  http://thread.gmane.org/gmane.comp.version-control.git/207193/focus=207201
Junio C Hamano (2):
  Allow generating a non-default set of documentation
  Allow installing a non-default set of documentation
 Documentation/Makefile | 10 ++++++++--
 Makefile               | 13 ++++++++++++-
 2 files changed, 20 insertions(+), 3 deletions(-)
-- 
1.8.1.293.g4a210a9
Next: Junio C Hamano
Message 1 of 9 in “DEFAULT_DOC_TARGET”
  1. 0/2 DEFAULT_DOC_TARGETJunio C Hamano, Jan 3, 2013
  2. 1/2 Allow generating a non-default set of documentationJunio C Hamano, Jan 3, 2013
  3. 2/2 Allow installing a non-default set of documentationJunio C Hamano, Jan 3, 2013
  4. Jeff KingJan 3, 2013
  5. Jeff KingJan 3, 2013
  6. Jeff KingJan 3, 2013
  7. Jeff KingJan 3, 2013
  8. Junio C HamanoJan 3, 2013
  9. Jeff KingJan 3, 2013

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.