aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/build_polipo.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 21:59:05 +1000
committerDavid Walter Seikel2016-03-28 21:59:05 +1000
commit26e55ced73cb1154906f11b7d6e965cb816a09fe (patch)
tree919766d31509c4cd370179ff0ecd6bfec05f6e25 /src/others/build_polipo.lua
parentThe beginnings of an image map for SledjHamr, needs more docs to link to. (diff)
downloadSledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.zip
SledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.tar.gz
SledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.tar.bz2
SledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.tar.xz
Add stuff to build external projects NetSurf and polipo.
Diffstat (limited to '')
-rwxr-xr-xsrc/others/build_polipo.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/others/build_polipo.lua b/src/others/build_polipo.lua
new file mode 100755
index 0000000..23fdde3
--- /dev/null
+++ b/src/others/build_polipo.lua
@@ -0,0 +1,17 @@
1#!/usr/bin/env luajit
2
3local dir = ...
4
5if 'nil' == type(dir) then
6 local build, err = loadfile('../../build.lua')
7 if build then
8 setfenv(build, getfenv(2))
9 build(2)
10 else
11 print("ERROR - " .. err)
12 end
13 dir = workingDir
14end
15
16cloneGit('polipo', '.', 'github.com/jech', '')
17runCommand(nil, 'polipo', 'make')