[GRASS-dev] [bug #5361] (grass) build system: "etc" PGMs should skip HTML page gen

Request Tracker grass-bugs at intevation.de
Fri Dec 1 01:36:28 EST 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=5361
-------------------------------------------------------------------------

Subject: build system: "etc" PGMs should skip HTML page gen

the Makefile "htmletc" target should skip htmlgen steps for most (all?) cases.

include/Make/Html.make:

# html rules for ETC commands
htmletc: htmletc1 htmlgen

htmletc1:
        $(call htmldesc,$(ETC)/$(PGM))




currently some are skipped in the build master help index:
tools/build_html_index.sh   EXCLUDEHTML=""

but they shouldn't be generated in the first place.

r.watershed.ram and r.watershed.seg currently stick out.


cd grass63/include/Make/

for FILE in `locate 'grass63/' | grep Makefile` ; do
   grep -H -A1 "htmletc" $FILE | cut -f7- -d/
done

imagery/i.ask/Makefile:htmletc1:
imagery/i.ask/Makefile- @echo no docs needed for $(PGM)
imagery/i.find/Makefile:htmletc:
imagery/i.find/Makefile-        @echo no docs needed for $(PGM)
imagery/i.ortho.photo/photo.camera/Makefile:htmletc1:
imagery/i.ortho.photo/photo.camera/Makefile-    $(MKDIR) $(GISBASE)/docs/html
imagery/i.ortho.photo/photo.elev/Makefile:htmletc:
imagery/i.ortho.photo/photo.elev/Makefile-      @echo no docs needed for $(PGM)
imagery/i.ortho.photo/photo.target/Makefile:htmletc1:
imagery/i.ortho.photo/photo.target/Makefile-    @echo No docs needed for $(PGM)
raster/r.support/modcats/Makefile:htmletc1:
raster/r.support/modcats/Makefile-      @echo "No docs to generate."
raster/r.support/modcolr/Makefile:htmletc1:
raster/r.support/modcolr/Makefile-      @echo "No docs to generate."
raster/r.support/modhead/Makefile:htmletc1:
raster/r.support/modhead/Makefile-      @echo "No docs to generate."
raster/r.support/modhist/Makefile:htmletc1:
raster/r.support/modhist/Makefile-      @echo "No docs to generate."
raster/r.watershed/ram/Makefile:htmletc1:
raster/r.watershed/ram/Makefile-        @echo "No docs to generate." 
raster/r.watershed/seg/Makefile:htmletc1:
raster/r.watershed/seg/Makefile-        @echo "No docs to generate."



for FILE in `locate 'grass63/' | grep Makefile` ; do
   grep -H "default: etc" $FILE | cut -f7- -d/
done

imagery/i.ask/Makefile:default: etc
imagery/i.find/Makefile:default: etc
imagery/i.ortho.photo/photo.2image/Makefile:default: etc
imagery/i.ortho.photo/photo.2target/Makefile:default: etc
imagery/i.ortho.photo/photo.camera/Makefile:default: etc
imagery/i.ortho.photo/photo.elev/Makefile:default: etc
imagery/i.ortho.photo/photo.init/Makefile:default: etc
imagery/i.ortho.photo/photo.rectify/Makefile:default: etc
imagery/i.ortho.photo/photo.target/Makefile:default: etc
raster/r.support/modcats/Makefile:default: etc
raster/r.support/modcolr/Makefile:default: etc
raster/r.support/modhead/Makefile:default: etc
raster/r.support/modhist/Makefile:default: etc
raster/r.watershed/ram/Makefile:default: etc 
raster/r.watershed/seg/Makefile:default: etc



?
Hamish


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list