R: [Gdal-dev] [ANNOUNCE] gdal debian package at mentors.de bi a n.ne t

Amici Alessandro alessandro_amici at telespazio.it
Tue May 27 08:55:40 EDT 2003


Frank,

> i'm working or plan to work on the following items:
>	- make docs (move static html files under html/static)
>	- make install-docs (same as web-update to $(docsdir))
i didn't find any solution that i really like, but i think the 
following is the one more in line with present file placement.
move formats_list.html and frmt_various.html to frmts and
gdal_utilities.html gdalicon.png to apps, then apply the patch:

--- ../gdal-1.1.8+030521/GNUmakefile	2003-05-21 23:14:09.000000000 +0200
+++ GNUmakefile	2003-05-27 09:49:19.000000000 +0200
@@ -89,7 +89,8 @@
 	(cd pymod; $(MAKE))
 
 lclean:
-	rm -f *.a *.so config.log config.cache
+	rm -f *.a *.so config.log config.cache html/*.*
+
 
 distclean:	dist-clean
 
@@ -107,13 +108,17 @@
 
 docs:
 	(cd html; rm -f *.*)
-	(cd html; cvs update gdal_utilities.html gdalicon.png \
-		             formats_list.html frmt_various.html)
+	cp apps/gdal_utilities.html apps/gdalicon.png html
+	cp frmts/*.html html
 	doxygen
 	cp frmts/*/frmt_*.html html
 
 all:	default ogr-all
 
+install-docs:
+	$(INSTALL_DIR) $(INST_DOCS)
+	cp html/*.* $(INST_DOCS)
+
 web-update:	docs
 	rm -rf /u/www/gdal/html
 	mkdir /u/www/gdal/html
--- ../gdal-1.1.8+030521/GDALmake.opt.in	2003-05-21
23:14:09.000000000 +0200
+++ GDALmake.opt.in	2003-05-27 09:51:45.000000000 +0200
@@ -31,6 +31,7 @@
 INST_LIB	=	@libdir@
 INST_BIN	=	@bindir@
 INST_PYMOD      =       @pymoddir@
+INST_DOCS	=	@exec_prefix@/doc/gdal
 
 #
 #	Whether we use debug flags, or optimization is determined by

in this way the html directory becomes a kind of build directory
for the documentation and can be safely wiped out before running
doxygen.
BTW, i choosed @exec_prefix@/doc/gdal for installing html docs,
i'm not sure it is the best place (on debian they are placed under:
/usr/share/doc/libgdal1/html anyhow). i didn't add the doc-related 
targets to the 'all' and 'install' default targets, however IMHO it
could be a nice addition to the standard installed base. 

>	- look inside aclocal.m4 for a place to set the GDAL_SLIB* vars
>	  (this should be enough for soname support on GNU binutils)
>	- clear the exec flag on files (mainly python modules)
still in progress

cheers,
alessandro
_______________________________________________
Gdal-dev mailing list
Gdal-dev at remotesensing.org
http://remotesensing.org/mailman/listinfo/gdal-dev



More information about the Gdal-dev mailing list