Skip to content

Commit 8dd9a93

Browse files
committed
Meta/dodoc.sh: make it easier to relocate the build areas
1 parent 25f444d commit 8dd9a93

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

dodoc.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99

1010
unset GIT_DIR
1111

12-
MASTERREPO=/srv/project/git/git.git/
13-
DOCREFHIER=refs/docs
14-
MANREPO=/srv/project/git/git-manpages.git/
15-
HTMLREPO=/srv/project/git/git-htmldocs.git/
12+
: ${TOP-/srv/project/git}
13+
14+
MASTERREPO=$TOP/git.git/
15+
MANREPO=$TOP/git-manpages.git/
16+
HTMLREPO=$TOP/git-htmldocs.git/
1617

1718
target_repo () {
1819
TARGETVAR=$(echo "$1"REPO | tr 'a-z' 'A-Z') &&

0 commit comments

Comments
 (0)