Subject: misc/24532: multiple problems rebuilding web pages
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@smaug.fh-regensburg.de>
List: netbsd-bugs
Date: 02/23/2004 02:05:14
>Number:         24532
>Category:       misc
>Synopsis:       multiple problems rebuilding web pages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 23 01:06:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Feyrer
>Release:        NetBSD 1.6.1_STABLE
>Organization:
Hubert Feyrer <hubertf@NetBSD.org>
>Environment:
	NetBSD with no docbook pkg installed
System: NetBSD smaug 1.6.1_STABLE NetBSD 1.6.1_STABLE (SMAUG) #12: Wed May 28 21:54:52 MEST 2003 feyrer@smaug:/disk1/cvs/src-1.6/sys/arch/sparc/compile/SMAUG sparc
Architecture: sparc
Machine: sparc
>Description:

Short:
Can someone please fix htdocs to produce proper output by simple "make"?

Long:
I wanted to fix a typo in htdocs/Security. Typing 'make' gave me a warning
that some layout.xml was changed and the whole website had to be
re-generated, no new index.html. Ok, cd .. && make, and see it explode
because of some other file missing. Get the hint to use "make NEW_HTDOCS=
autolayout.xml" (very non-obvious!), and see that fail again because I
don't have the right pkg installed. Got frustrated.


>How-To-Repeat:
	cd htdocs/Security
	vi index.xml
	make index.html

	cd ..
	make

>Fix:
	
Can whoever made this please:
 * make "make" work in whatever dir (I don't care for NEW_HTDOCS, just
   DTRT!)
 * Check if required pkgs are installed when using NEW_HTDOCS, and
   print what needs installed if not
 * Fix that loss that happens when one just types "make" in htdocs right
   now ("make: don't know how to make bootfloppy.html. Stop" in
   "Documentation" dir)

And while we're here: There is no www/htdocs category for gnats.
>Release-Note:
>Audit-Trail:
>Unformatted:
 	htdocs as of today