aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.bld33
1 files changed, 32 insertions, 1 deletions
diff --git a/default.bld b/default.bld
index 467274b..cfe448e 100644
--- a/default.bld
+++ b/default.bld
@@ -34,6 +34,11 @@ action "docs"
34 build: targets("docs"); 34 build: targets("docs");
35} 35}
36 36
37action "install"
38{
39 build: targets("install");
40}
41
37action "devinstall" 42action "devinstall"
38{ 43{
39 if "$(id -u)" != "0" then 44 if "$(id -u)" != "0" then
@@ -96,7 +101,8 @@ target "/usr/lib/build"
96 } 101 }
97} 102}
98 103
99for vimdir in dirs("/usr/share/vim/vim*") do 104for vimdir in [dirs("/usr/share/vim/vim*"),
105 dirs("/usr/local/share/vim/vim*")] do
100{ 106{
101 for ftype in ["ftplugin/build.vim", "ftdetect/build.vim", 107 for ftype in ["ftplugin/build.vim", "ftdetect/build.vim",
102 "syntax/build.vim"] do 108 "syntax/build.vim"] do
@@ -116,6 +122,31 @@ for vimdir in dirs("/usr/share/vim/vim*") do
116 } 122 }
117} 123}
118 124
125target PREFIX + "/bin/build"
126{
127 display "install";
128 tag "install";
129 requires "build";
130 profile "build"
131 {
132 execute("install -T -s build ${OUTPUT}");
133 }
134}
135
136for i in [files("share/autoinclude/*.bld"), files("share/include/*.bld")] do
137{
138 target PREFIX + "/share/build/" + i.replace("share/","")
139 {
140 display "install";
141 tag "install";
142 requires i;
143 profile "build"
144 {
145 execute("install -T -D -m0466 ${i} ${OUTPUT}");
146 }
147 }
148}
149
119target "docs/build-manual.pdf" 150target "docs/build-manual.pdf"
120{ 151{
121 display "pdflatex"; 152 display "pdflatex";