Bug 222721 - share/tools/webupdate needs a cleanup
Summary: share/tools/webupdate needs a cleanup
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wolfram Schneider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-01 18:07 UTC by Wolfram Schneider
Modified: 2017-10-03 11:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider freebsd_committer freebsd_triage 2017-10-01 18:07:11 UTC
The script share/tools/webupdate calls `make install`', without calling `make all`' first.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-10-01 18:09:03 UTC
A commit references this bug:

Author: wosch
Date: Sun Oct  1 18:08:22 UTC 2017
New revision: 51017
URL: https://svnweb.freebsd.org/changeset/doc/51017

Log:
  call `make all' first, than `make install'

  PR: 222721

Changes:
  head/share/tools/webupdate
Comment 2 Wolfram Schneider freebsd_committer freebsd_triage 2017-10-01 18:13:55 UTC
If we build the doc (articles, books) from doc/en_US.ISO8859-1/htdocs/doc, then we build the formats "html" and "html-split".

That means, if we build the doc first from ./doc, we have to enforce the formats "html" and "html-split" as well and not just the default format.
Comment 3 Wolfram Schneider freebsd_committer freebsd_triage 2017-10-01 18:28:52 UTC
It would be great if the webupdate scripts display the latest rev. nummber / git id on failure.

this is easy to implement, most of the code is already in share/mk/doc.docbook.mk
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-10-01 19:27:03 UTC
A commit references this bug:

Author: wosch
Date: Sun Oct  1 19:26:53 UTC 2017
New revision: 51018
URL: https://svnweb.freebsd.org/changeset/doc/51018

Log:
  display the latest rev. nummber / git id on failure

  PR: 222721

Changes:
  head/share/tools/webupdate
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-10-01 19:30:08 UTC
A commit references this bug:

Author: wosch
Date: Sun Oct  1 19:29:43 UTC 2017
New revision: 51019
URL: https://svnweb.freebsd.org/changeset/doc/51019

Log:
  disable "obj", too fragile, see also PR: 222488

  PR: 222721

Changes:
  head/share/tools/webupdate
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-10-01 19:40:22 UTC
A commit references this bug:

Author: wosch
Date: Sun Oct  1 19:39:38 UTC 2017
New revision: 51020
URL: https://svnweb.freebsd.org/changeset/doc/51020

Log:
  cleanup stale documentation

  PR: 222721

Changes:
  head/share/tools/webupdate
Comment 7 commit-hook freebsd_committer freebsd_triage 2017-10-03 11:43:16 UTC
A commit references this bug:

Author: wosch
Date: Tue Oct  3 11:42:23 UTC 2017
New revision: 51032
URL: https://svnweb.freebsd.org/changeset/doc/51032

Log:
  enable parallel web+doc build

  PR: 222721

Changes:
  head/share/tools/webupdate