forked from anthonygelibert/QLColorCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[anthonygelibert#74] Added .install, .module, and .profile file types…
… with php colourcoding.
- Loading branch information
1 parent
b5978ea
commit 2bbd305
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
diff --git a/filetypes.conf b/filetypes.conf | ||
index 10cfd0c..a558ce2 100644 | ||
--- a/filetypes.conf | ||
+++ b/filetypes.conf | ||
@@ -73,7 +73,7 @@ FileMapping = { | ||
{ Lang="mod2", Extensions={"mod", "def"} }, | ||
{ Lang="mod3", Extensions={"m3", "i3"} }, | ||
{ Lang="oberon", Extensions={"ooc"} }, | ||
- { Lang="php", Extensions={"php3", "php4", "php5", "php6", "php7", "phps", "phpt"} }, | ||
+ { Lang="php", Extensions={"php3", "php4", "php5", "php6", "php7", "phps", "phpt", "install", "module", "profile"} }, | ||
{ Lang="pike", Extensions={"pmod"} }, | ||
{ Lang="pl1", Extensions={"ff", "fp", "fpp", "rpp","sf", "sp", "spb", | ||
"spp","sps", "wp", "wf", "wpp","wps","wpb","bdy","spe"} }, | ||
|
||
diff --git a/src/makefile b/src/makefile | ||
index 9d0a08e..0a7a833 100644 | ||
--- a/src/makefile | ||
+++ b/src/makefile | ||
@@ -43,8 +43,8 @@ ifeq (${LUA_TEST},1) | ||
LUA_PKG_NAME=lua | ||
endif | ||
|
||
-LUA_CFLAGS=$(shell pkg-config --cflags ${LUA_PKG_NAME}) | ||
-LUA_LIBS=$(shell pkg-config --libs ${LUA_PKG_NAME}) | ||
+LUA_CFLAGS=-I../../lua -I../.. | ||
+LUA_LIBS=../../lua/liblua.a | ||
|
||
# luajit lib | ||
# LUA_LIBS=$(shell pkg-config --libs luajit) | ||
@@ -75,7 +75,7 @@ LDFLAGS = -ldl | ||
#LDFLAGS = ${LDFLAGS} -s | ||
#LDFLAGS= -Wl,--as-needed | ||
|
||
-CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} ${LUA_CFLAGS} | ||
+CXX_COMPILE=${CXX} ${CFLAGS} -c -I /opt/local/include -I /usr/local/include -I ${INCLUDE_DIR} ${LUA_CFLAGS} | ||
|
||
# Data directories (data dir, configuration file dir) | ||
CXX_DIR=-DHL_DATA_DIR=\"${HL_DATA_DIR}\" -DHL_CONFIG_DIR=\"${HL_CONFIG_DIR}\" |