Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
06f38d59
Commit
06f38d59
authored
21 years ago
by
Martin Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
fixing pike -x module when no docs are installed
Rev: lib/modules/Tools.pmod/Standalone.pmod/module.pike:1.24
parent
34bcc0da
No related branches found
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/Tools.pmod/Standalone.pmod/module.pike
+9
-8
9 additions, 8 deletions
lib/modules/Tools.pmod/Standalone.pmod/module.pike
with
9 additions
and
8 deletions
lib/modules/Tools.pmod/Standalone.pmod/module.pike
+
9
−
8
View file @
06f38d59
// -*- Pike -*-
// -*- Pike -*-
// $Id: module.pike,v 1.2
3
200
3/11/07 22:47:25 bill
Exp $
// $Id: module.pike,v 1.2
4
200
4/04/21 14:51:42 nilsson
Exp $
#pike __REAL_VERSION__
#pike __REAL_VERSION__
constant version = ("$Revision: 1.2
3
$"/" ")[1];
constant version = ("$Revision: 1.2
4
$"/" ")[1];
constant description = "Pike module installer.";
constant description = "Pike module installer.";
// Source directory
// Source directory
...
@@ -140,14 +140,15 @@ void do_make(array(string) cmd)
...
@@ -140,14 +140,15 @@ void do_make(array(string) cmd)
else full_srcdir=getcwd() + "/";
else full_srcdir=getcwd() + "/";
// we should try to find the core autodoc file
// we should try to find the core autodoc file
if(file_stat(combine_path(system_module_path,
"../../doc/src/core_autodoc.xml")))
if(file_stat(combine_path(system_module_path,
{
"../../doc/src/core_autodoc.xml")))
system_doc_path=combine_path(system_module_path, "../../doc");
system_doc_path=combine_path(system_module_path, "../../doc");
}
else if(file_stat(combine_path(system_module_path,
else if(file_stat(combine_path(system_module_path, "../../../doc/pike/src/core_autodoc.xml")))
"../../../doc/pike/src/core_autodoc.xml")))
{
system_doc_path=combine_path(system_module_path, "../../../doc/pike");
system_doc_path=combine_path(system_module_path, "../../../doc/pike");
}
else
system_doc_path = combine_path(system_module_path, "../../doc");
// No autodoc file, but we set this path as doc path anyway.
array(string) makecmd=(
array(string) makecmd=(
({make})+
({make})+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment