com web/doc: Fix paths: README.md build-ops-sample.php scripts/rev.php
| From: | sobak@php.net | Date: | Sun, 03 Aug 2014 05:21:12 +0000 |
| Subject: | com web/doc: Fix paths: README.md build-ops-sample.php scripts/rev.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2412@lists.php.net to get a copy of this message | ||
Commit: a068c936b8c7b90eea79c304388c0c7eb21b55f4
Author: Sobak <msobaczewski@gmail.com> Sun, 3 Aug 2014 07:21:12 +0200
Parents: 11bedb65e78e3216dcba91721950501f59957cc3
Branches: master
Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=a068c936b8c7b90eea79c304388c0c7eb21b55f4
Log:
Fix paths
Changed paths:
M README.md
M build-ops-sample.php
M scripts/rev.php
Diff:
diff --git a/README.md b/README.md
index 9c287d3..983a158 100644
--- a/README.md
+++ b/README.md
@@ -14,11 +14,12 @@ Requirements:
3. Increase memory limit for PHP scripts to at least 32MB
4. Fill in two configuration files
-
build-ops.sample.php (rename it to build-ops.php)
- - @SVNDIR@ - absolute path to dir where scripts will clone phpdoc-all
to and then use it for generating data
+ - @SVNDIR@ - absolute path to dir where scripts will clone SVN repos to and then use
them for generating data
+ - @DOCDIR@ - relative path to the directory with documentation in SVN repo
- build-ops-sample (rename it to build-ops [no ext])
- @PHP@ - path to the PHP executable file
- - @SVNDIR@ - absolute path to dir where scripts will clone phpdoc-all
to and then use it for generating data
- - @DOCDIR@ - path to the directory with documentation in SVN repo
+ - @SVNDIR@ - absolute path to dir where scripts will clone SVN repos to and then use
them and then use it for generating data
+ - @DOCDIR@ - relative path to the directory with documentation in SVN repo
- @DOCWEB@ - absolute path to directory with this website
- @SCRIPTSDIR@- absolute path to /scripts/ directory
- @SRCDIR@ - path to the directory with PHP source code in SVN repo
diff --git a/build-ops-sample.php b/build-ops-sample.php
index 71b72b8..1c486dc 100644
--- a/build-ops-sample.php
+++ b/build-ops-sample.php
@@ -2,4 +2,5 @@
// Please read README.md in the same directory to get more info about filling in this file
define('SVN_DIR', '@SVNDIR@');
+define('DOC_DIR', '@DOCDIR@');
define('SQLITE_DIR', '@SQLITEDIR@');
\ No newline at end of file
diff --git a/scripts/rev.php b/scripts/rev.php
index 45d0fe5..dc54924 100644
--- a/scripts/rev.php
+++ b/scripts/rev.php
@@ -30,7 +30,7 @@ set_time_limit(0);
include '../include/init.inc.php';
include '../include/lib_proj_lang.inc.php';
-$DOCS = SVN_DIR;
+$DOCS = SVN_DIR . DOC_DIR . '/';
// Test the languages:
$LANGS = array_keys($LANGUAGES);