[GRASS5] 5.1: Makefile question

Markus Neteler neteler at itc.it
Tue Apr 1 09:01:03 EST 2003


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




More information about the grass-dev mailing list