Hi,
for the automated HTML map page creation:
http://grass.itc.it/grass51/manuals/html51_user/
I need help. The simplified excerpt of
grass51/db/base/Makefile
looks like:
------------------------
PROGRAMS = db.columns db.copy db.createdb db.dropdb db.droptable
allhtml:
for pgm in $(PROGRAMS) ; do \
cat $$pgm.html >> $$pgm.tmp ; \
done
------------------------
Unfortunately the 'cat $$pgm.html' is not understood as the concatenation
of $$pgm and .html extension fails.
Where is the trick? Help is welcome.
Markus
At Tue, 1 Apr 2003 16:01:03 +0200 Markus Neteler wrote:
Hello Markus,
PROGRAMS = db.columns db.copy db.createdb db.dropdb db.droptable
allhtml:
for pgm in $(PROGRAMS) ; do \
cat $$pgm.html >> $$pgm.tmp ; \
done
works well here, but I had to remove "html" in line 29 to compile
proberly.
all html-docs are created and copied to the right place.
cheers
Stephan
--
Stephan Holl
GnuPG Key-ID: 11946A09
ICQ# 117277975
On Wed, Apr 02, 2003 at 09:01:25AM +0200, Stephan Holl wrote:
At Tue, 1 Apr 2003 16:01:03 +0200 Markus Neteler wrote:
Hello Markus,
> PROGRAMS = db.columns db.copy db.createdb db.dropdb db.droptable
>
> allhtml:
> for pgm in $(PROGRAMS) ; do \
> cat $$pgm.html >> $$pgm.tmp ; \
> done
works well here, but I had to remove "html" in line 29 to compile
proberly. all html-docs are created and copied to the right place.
Yes and no: Please check if the "DESCRIPTION" section was added to
the db.*.html pages. I am sure that this section is missing.
The same applies for g.rename, g.remove, g.copy, g.list in
src/general/manage/Makefile
No Makefile expert here...? I guess that this rule must be completely
rewritten, using $< $@ etc.
Markus
At Wed, 2 Apr 2003 10:53:44 +0200 Markus Neteler wrote:
Hello Markus,
Yes and no: Please check if the "DESCRIPTION" section was added to
the db.*.html pages. I am sure that this section is missing.
yes, indeed, it is missing, but only in the copied files.
the html.files in db/base/ have the DESCRIPTION block.
The same applies for g.rename, g.remove, g.copy, g.list in
src/general/manage/Makefile
sorry Markus, I am no Makefile-expert....
cheers
Stephan
--
Stephan Holl
GnuPG Key-ID: 11946A09
ICQ# 117277975
On Wed, Apr 02, 2003 at 10:53:44AM +0200, Markus Neteler wrote:
On Wed, Apr 02, 2003 at 09:01:25AM +0200, Stephan Holl wrote:
> At Tue, 1 Apr 2003 16:01:03 +0200 Markus Neteler wrote:
The same applies for g.rename, g.remove, g.copy, g.list in
src/general/manage/Makefile
No Makefile expert here...? I guess that this rule must be completely
rewritten, using $< $@ etc.
OK, we have solved it, just a missing ';'.
Now the HTML documentation is also generated for the db.* modules
and g.* modules.
Cheers
Markus