From a068c936b8c7b90eea79c304388c0c7eb21b55f4 Mon Sep 17 00:00:00 2001 From: Sobak Date: Sun, 3 Aug 2014 07:21:12 +0200 Subject: [PATCH] Fix paths --- README.md | 7 ++++--- build-ops-sample.php | 1 + scripts/rev.php | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) 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);