Is there a way to make all those .html files appear under a different dir? Right now I put together a script like that: ====== #!/bin/sh # A small script used to build README.html files and package using # bundle-readmes script, clean up, and unpack it all where they can be # served to the world
PORTSDIR=/usr/ports WWWDIR=/var/www/htdocs /usr/ports/infrastructure/build/bundle-readmes && cd $PORTSDIR && tar -ztf ports-readmes.tar.gz -s /ports\\///g | grep -v /files/ | xargs rm && tar -zxf $PORTSDIR/ports-readmes.tar.gz -C $WWWDIR ====== But I was thinking, maybe there is a better way? I tried setting the variables mentioned in man ports under "read only ports tree" (WRKOBJDIR, PKGREPOSITORYBASE, BULK_COOKIES_DIR and DISTDIR) but none of that seemed to have an effect. I'm thinking of something like "</usr/ports/>$ SOMEVARIABLE=$WWWDIR make readmes", is that possible at all, or am I just wasting my time and it's better to stick with the methods as the above script? Thanks in advance for answers/pointers/cluestick -- viq ---------------------------------------------------------------------- Pan pozna Pania. Czeka... ;-) >>> http://link.interia.pl/f1922
