|
| 1 | +diff --git a/filetypes.conf b/filetypes.conf |
| 2 | +index 10cfd0c..a558ce2 100644 |
| 3 | +--- a/filetypes.conf |
| 4 | ++++ b/filetypes.conf |
| 5 | +@@ -45,6 +45,7 @@ FileMapping = { |
| 6 | + { Lang="coldfusion", Extensions={"cfc","cfm"} }, |
| 7 | + { Lang="cobol", Extensions={"cob", "cbl"} }, |
| 8 | + { Lang="crystal", Extensions={"cr"} }, |
| 9 | ++ { Lang="css", Extensions={"css", "less", "sass", "scss"} }, |
| 10 | + { Lang="conf", Extensions={"anacrontab"} }, |
| 11 | + { Lang="delphi", Extensions={"pas", "dpr"} }, |
| 12 | + { Lang="diff", Extensions={"patch"} }, |
| 13 | +@@ -73,7 +74,7 @@ FileMapping = { |
| 14 | + { Lang="mod2", Extensions={"mod", "def"} }, |
| 15 | + { Lang="mod3", Extensions={"m3", "i3"} }, |
| 16 | + { Lang="oberon", Extensions={"ooc"} }, |
| 17 | +- { Lang="php", Extensions={"php3", "php4", "php5", "php6", "php7", "phps", "phpt"} }, |
| 18 | ++ { Lang="php", Extensions={"php3", "php4", "php5", "php6", "php7", "phps", "phpt", "install", "module", "profile"} }, |
| 19 | + { Lang="pike", Extensions={"pmod"} }, |
| 20 | + { Lang="pl1", Extensions={"ff", "fp", "fpp", "rpp","sf", "sp", "spb", |
| 21 | + "spp","sps", "wp", "wf", "wpp","wps","wpb","bdy","spe"} }, |
| 22 | + |
1 | 23 | diff --git a/src/makefile b/src/makefile |
2 | 24 | index 9d0a08e..0a7a833 100644 |
3 | 25 | --- a/src/makefile |
4 | 26 | +++ b/src/makefile |
5 | 27 | @@ -43,8 +43,8 @@ ifeq (${LUA_TEST},1) |
6 | 28 | LUA_PKG_NAME=lua |
7 | 29 | endif |
8 | | - |
| 30 | + |
9 | 31 | -LUA_CFLAGS=$(shell pkg-config --cflags ${LUA_PKG_NAME}) |
10 | 32 | -LUA_LIBS=$(shell pkg-config --libs ${LUA_PKG_NAME}) |
11 | 33 | +LUA_CFLAGS=-I../../lua -I../.. |
12 | 34 | +LUA_LIBS=../../lua/liblua.a |
13 | | - |
| 35 | + |
14 | 36 | # luajit lib |
15 | 37 | # LUA_LIBS=$(shell pkg-config --libs luajit) |
16 | 38 | @@ -75,7 +75,7 @@ LDFLAGS = -ldl |
17 | 39 | #LDFLAGS = ${LDFLAGS} -s |
18 | 40 | #LDFLAGS= -Wl,--as-needed |
19 | | - |
| 41 | + |
20 | 42 | -CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} ${LUA_CFLAGS} |
21 | 43 | +CXX_COMPILE=${CXX} ${CFLAGS} -c -I /opt/local/include -I /usr/local/include -I ${INCLUDE_DIR} ${LUA_CFLAGS} |
22 | | - |
| 44 | + |
23 | 45 | # Data directories (data dir, configuration file dir) |
24 | 46 | CXX_DIR=-DHL_DATA_DIR=\"${HL_DATA_DIR}\" -DHL_CONFIG_DIR=\"${HL_CONFIG_DIR}\" |
0 commit comments