|
From: <ai...@us...> - 2008-09-23 19:15:46
|
Revision: 8800
http://plplot.svn.sourceforge.net/plplot/?rev=8800&view=rev
Author: airwin
Date: 2008-09-23 19:14:42 +0000 (Tue, 23 Sep 2008)
Log Message:
-----------
Remove configuration, generation, and upload of what ends up as
docbook-manual/index.html as part of the on-going effort to remove the old
website.
Modified Paths:
--------------
trunk/doc/docbook/CMakeLists.txt
trunk/doc/docbook/src/CMakeLists.txt
Removed Paths:
-------------
trunk/doc/docbook/bin/size-href.pl
trunk/doc/docbook/www/
Modified: trunk/doc/docbook/CMakeLists.txt
===================================================================
--- trunk/doc/docbook/CMakeLists.txt 2008-09-23 16:49:50 UTC (rev 8799)
+++ trunk/doc/docbook/CMakeLists.txt 2008-09-23 19:14:42 UTC (rev 8800)
@@ -1,5 +1,3 @@
-add_subdirectory(www)
-
if(BUILD_DOC)
add_subdirectory(bin)
endif(BUILD_DOC)
Deleted: trunk/doc/docbook/bin/size-href.pl
===================================================================
--- trunk/doc/docbook/bin/size-href.pl 2008-09-23 16:49:50 UTC (rev 8799)
+++ trunk/doc/docbook/bin/size-href.pl 2008-09-23 19:14:42 UTC (rev 8800)
@@ -1,51 +0,0 @@
-#!/usr/bin/perl
-#
-# Copyright (C) 2004 Rafael Laboissiere
-#
-# This file is part of PLplot
-#
-# PLplot is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Library General Public License as published
-# by the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# PLplot is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU Library General Public License
-# along with PLplot; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
-sub get_size {
- my $f = shift;
- my $s = 0;
- $s = `ls -sh $f`;
- $s =~ s/\s*([0-9.]+[MKk])\s+.*/$1/;
- chomp $s;
- return $s;
-}
-
-while (<>) {
- if (/(.*)href="(.*)"(.*)/) {
- $file = $2;
- print "$1href=\"$2\"";
- $_ = "$3\n";
- redo;
- }
- if (/(.*)\@SIZE@(.*)/ || /(.*)\${SIZE}(.*)/) {
- if ( -f $file ) {
- $size = get_size ($file);
- }
- elsif ( -f "src/$file" ) {
- $size = get_size ("src/$file")
- }
- else {
- die "Neither $file nor src/$file exist";
- }
- print "$1($size)$2\n";
- next;
- }
- print;
-}
Modified: trunk/doc/docbook/src/CMakeLists.txt
===================================================================
--- trunk/doc/docbook/src/CMakeLists.txt 2008-09-23 16:49:50 UTC (rev 8799)
+++ trunk/doc/docbook/src/CMakeLists.txt 2008-09-23 19:14:42 UTC (rev 8800)
@@ -511,7 +511,6 @@
set(HTML_TARBALL ${BASE_HTML}.tar.gz)
set(INFO_TARBALL ${BASE_INFO}.tar.gz)
set(MAN_TARBALL ${BASE_MAN}.tar.gz)
- set(INDEX_HTML ${CMAKE_CURRENT_BINARY_DIR}/../www/index.html)
set(DOCUMENTATION_PHP ${CMAKE_CURRENT_BINARY_DIR}/../../../www/documentation.php)
set(WWW_USERAT ${WWW_USER}@)
@@ -550,21 +549,6 @@
)
add_custom_command(
- OUTPUT ${INDEX_HTML}
- COMMAND ${PERL_EXECUTABLE}
- ${BINDIR}/size-href.pl < ${INDEX_HTML}.in > ${INDEX_HTML}
- DEPENDS
- ${BINDIR}/size-href.pl
- ${INDEX_HTML}.in
- ${BASE}.ps.gz
- ${BASE}.pdf
- ${BASE}.dvi
- ${CMAKE_CURRENT_BINARY_DIR}/${INFO_TARBALL}
- ${CMAKE_CURRENT_BINARY_DIR}/${MAN_TARBALL}
- ${CMAKE_CURRENT_BINARY_DIR}/${HTML_TARBALL}
- )
-
- add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${TARBALL}
COMMAND tar cfz ${TARBALL}
${HTML_TARBALL}
@@ -574,7 +558,6 @@
${BASE}.pdf
${BASE}.dvi
-C ${CMAKE_CURRENT_SOURCE_DIR}/.. COPYING
- -C ${CMAKE_CURRENT_BINARY_DIR}/../www index.html
-C ${CMAKE_CURRENT_BINARY_DIR}/../../../www documentation.php
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${HTML_TARBALL}
@@ -584,7 +567,6 @@
${BASE}.pdf
${BASE}.dvi
${CMAKE_CURRENT_SOURCE_DIR}/../COPYING
- ${INDEX_HTML}
${DOCUMENTATION_PHP}
)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|