summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2011-05-10 16:31:23 +0000
committerNathan Angelacos <nangel@alpinelinux.org>2011-05-10 16:31:23 +0000
commitb1bed843f31c2d59303ebea5e14f36df55e78262 (patch)
tree2bfe2b218edcf4338d11e22dd2faf5bc5b946a70
parent1fdf8f5cbe190d35032a8d17bbd5d038e0f52219 (diff)
downloadhaserl-b1bed843f31c2d59303ebea5e14f36df55e78262.tar.bz2
haserl-b1bed843f31c2d59303ebea5e14f36df55e78262.tar.xz
ensure that haserl_lualib.inc is not included
-rw-r--r--src/Makefile.am17
-rw-r--r--src/haserl_lualib.inc97
2 files changed, 6 insertions, 108 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8d405fb..245d92e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,8 +4,13 @@ EXTRA_DIST = haserl_lualib.lua lua2c.c
datarootdir=@datarootdir@
+# Not strictly required, but we explicitly do not distribute the generated inc file
+nodist_haserl_SOURCES = haserl_lualib.inc
+
+
if USE_LUA
-LUASOURCE = haserl_lualib.inc h_lua_common.c h_lua_common.h
+noinst_PROGRAMS = lua2c
+LUASOURCE = h_lua_common.c h_lua_common.h
if INCLUDE_LUASHELL
LUASOURCE += h_lua.c h_lua.h
endif
@@ -47,13 +52,3 @@ install-strip:
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-
-#--------- Unit Tests ----------------------
-#TESTS = utest_common
-
-#check_PROGRAMS = utest_common
-
-#utest_common: utest_common.c
-
-#--------- End Unit Tests -------------------
-
diff --git a/src/haserl_lualib.inc b/src/haserl_lualib.inc
deleted file mode 100644
index 66cfddc..0000000
--- a/src/haserl_lualib.inc
+++ /dev/null
@@ -1,97 +0,0 @@
-/* This file was automatically generated from haserl_lualib.lua. DO NOT EDIT */
-
-static const unsigned char haserl_lualib[] = {
- 27, 76,117, 97, 81, 0, 1, 4, 4, 4, 8, 0, 19, 0, 0, 0,
- 64,104, 97,115,101,114,108, 95,108,117, 97,108,105, 98, 46,108,
- 117, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 7, 24,
- 0, 0, 0, 10, 0, 0, 0, 74, 0, 0, 0,138, 0, 0, 0,202,
- 0, 0, 0, 10, 1, 0, 0, 74, 1, 0, 0,138, 1, 0, 0,135,
- 129, 1, 0, 71, 65, 1, 0, 7, 1, 1, 0,199,192, 0, 0,135,
- 128, 0, 0, 71, 64, 0, 0, 7, 0, 0, 0, 5, 0, 0, 0,100,
- 0, 0, 0, 9, 64,128,131, 5, 0, 0, 0,100, 64, 0, 0, 9,
- 64, 0,132, 5, 0, 0, 0,100,128, 0, 0, 9, 64,128,132, 30,
- 0,128, 0, 10, 0, 0, 0, 4, 7, 0, 0, 0,104, 97,115,101,
- 114,108, 0, 4, 5, 0, 0, 0, 70, 79, 82, 77, 0, 4, 4, 0,
- 0, 0, 69, 78, 86, 0, 4, 7, 0, 0, 0, 67, 79, 79, 75, 73,
- 69, 0, 4, 7, 0, 0, 0, 72, 65, 83, 69, 82, 76, 0, 4, 4,
- 0, 0, 0, 71, 69, 84, 0, 4, 5, 0, 0, 0, 80, 79, 83, 84,
- 0, 4, 9, 0, 0, 0,115,101,116,102,105,101,108,100, 0, 4,
- 9, 0, 0, 0,103,101,116,102,105,101,108,100, 0, 4, 9, 0,
- 0, 0,109,121,112,117,116,101,110,118, 0, 3, 0, 0, 0, 0,
- 0, 0, 0, 22, 0, 0, 0, 36, 0, 0, 0, 0, 2, 0, 10, 29,
- 0, 0, 0,133, 0, 0, 0,197, 64, 0, 0,198,128,192, 1, 0,
- 1, 0, 0, 65,193, 0, 0,220, 0,129, 1, 22,128, 4,128, 5,
- 2, 1, 0, 64, 2, 0, 3, 28,130, 0, 1, 26, 2, 0, 0, 22,
- 192, 0,128, 5, 2, 1, 0, 64, 2, 0, 3, 28,130, 0, 1,128,
- 1, 0, 4, 23, 64,193, 3, 22,128, 1,128, 6,130, 1, 1, 26,
- 66, 0, 0, 22, 0, 0,128, 10, 2, 0, 0,137, 0, 2, 3,134,
- 128, 1, 1, 22, 0, 0,128,137, 64, 0, 3,225,128, 0, 0, 22,
- 128,250,127, 30, 0,128, 0, 6, 0, 0, 0, 4, 3, 0, 0, 0,
- 95, 71, 0, 4, 7, 0, 0, 0,115,116,114,105,110,103, 0, 4,
- 6, 0, 0, 0,103,102,105,110,100, 0, 4, 15, 0, 0, 0, 40,
- 91, 37,119, 95, 37, 45, 93, 43, 41, 40, 46, 63, 41, 0, 4, 9,
- 0, 0, 0,116,111,110,117,109, 98,101,114, 0, 4, 2, 0, 0,
- 0, 46, 0, 0, 0, 0, 0, 29, 0, 0, 0, 24, 0, 0, 0, 25,
- 0, 0, 0, 25, 0, 0, 0, 25, 0, 0, 0, 25, 0, 0, 0, 25,
- 0, 0, 0, 25, 0, 0, 0, 26, 0, 0, 0, 26, 0, 0, 0, 26,
- 0, 0, 0, 26, 0, 0, 0, 26, 0, 0, 0, 27, 0, 0, 0, 27,
- 0, 0, 0, 27, 0, 0, 0, 27, 0, 0, 0, 29, 0, 0, 0, 29,
- 0, 0, 0, 30, 0, 0, 0, 30, 0, 0, 0, 30, 0, 0, 0, 30,
- 0, 0, 0, 30, 0, 0, 0, 31, 0, 0, 0, 31, 0, 0, 0, 33,
- 0, 0, 0, 25, 0, 0, 0, 34, 0, 0, 0, 36, 0, 0, 0, 8,
- 0, 0, 0, 2, 0, 0, 0,102, 0, 0, 0, 0, 0, 28, 0, 0,
- 0, 2, 0, 0, 0,118, 0, 0, 0, 0, 0, 28, 0, 0, 0, 2,
- 0, 0, 0,116, 0, 1, 0, 0, 0, 28, 0, 0, 0, 16, 0, 0,
- 0, 40,102,111,114, 32,103,101,110,101,114, 97,116,111,114, 41,
- 0, 6, 0, 0, 0, 28, 0, 0, 0, 12, 0, 0, 0, 40,102,111,
- 114, 32,115,116, 97,116,101, 41, 0, 6, 0, 0, 0, 28, 0, 0,
- 0, 14, 0, 0, 0, 40,102,111,114, 32, 99,111,110,116,114,111,
- 108, 41, 0, 6, 0, 0, 0, 28, 0, 0, 0, 2, 0, 0, 0,119,
- 0, 7, 0, 0, 0, 26, 0, 0, 0, 2, 0, 0, 0,100, 0, 7,
- 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38,
- 0, 0, 0, 44, 0, 0, 0, 0, 1, 0, 8, 12, 0, 0, 0, 69,
- 0, 0, 0,133, 64, 0, 0,134,128, 64, 1,192, 0, 0, 0, 1,
- 193, 0, 0,156, 0,129, 1, 22, 0, 0,128, 70, 64,129, 0,161,
- 64, 0, 0, 22, 0,255,127, 94, 0, 0, 1, 30, 0,128, 0, 4,
- 0, 0, 0, 4, 3, 0, 0, 0, 95, 71, 0, 4, 7, 0, 0, 0,
- 115,116,114,105,110,103, 0, 4, 6, 0, 0, 0,103,102,105,110,
- 100, 0, 4, 7, 0, 0, 0, 91, 37,119, 95, 93, 43, 0, 0, 0,
- 0, 0, 12, 0, 0, 0, 39, 0, 0, 0, 40, 0, 0, 0, 40, 0,
- 0, 0, 40, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0, 0, 40, 0,
- 0, 0, 41, 0, 0, 0, 40, 0, 0, 0, 41, 0, 0, 0, 43, 0,
- 0, 0, 44, 0, 0, 0, 6, 0, 0, 0, 2, 0, 0, 0,102, 0,
- 0, 0, 0, 0, 11, 0, 0, 0, 2, 0, 0, 0,118, 0, 1, 0,
- 0, 0, 11, 0, 0, 0, 16, 0, 0, 0, 40,102,111,114, 32,103,
- 101,110,101,114, 97,116,111,114, 41, 0, 6, 0, 0, 0, 10, 0,
- 0, 0, 12, 0, 0, 0, 40,102,111,114, 32,115,116, 97,116,101,
- 41, 0, 6, 0, 0, 0, 10, 0, 0, 0, 14, 0, 0, 0, 40,102,
- 111,114, 32, 99,111,110,116,114,111,108, 41, 0, 6, 0, 0, 0,
- 10, 0, 0, 0, 2, 0, 0, 0,119, 0, 7, 0, 0, 0, 8, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 0, 52, 0,
- 0, 0, 0, 2, 0, 6, 20, 0, 0, 0,133, 0, 0, 0,134, 64,
- 64, 1,192, 0, 0, 0, 1,129, 0, 0, 65,193, 0, 0,156,128,
- 0, 2, 0, 0, 0, 1,133, 0, 0, 0,134, 64, 64, 1,192, 0,
- 0, 0, 1, 1, 1, 0, 65,193, 0, 0,156,128, 0, 2, 0, 0,
- 0, 1,133, 64, 1, 0,134,128, 65, 1,192, 0, 0, 0, 0, 1,
- 128, 0,156, 64,128, 1, 30, 0,128, 0, 7, 0, 0, 0, 4, 7,
- 0, 0, 0,115,116,114,105,110,103, 0, 4, 5, 0, 0, 0,103,
- 115,117, 98, 0, 4, 7, 0, 0, 0, 91, 92, 93, 92, 91, 93, 0,
- 4, 2, 0, 0, 0, 46, 0, 4, 6, 0, 0, 0, 91, 92, 46, 93,
- 43, 0, 4, 7, 0, 0, 0,104, 97,115,101,114,108, 0, 4, 9,
- 0, 0, 0,115,101,116,102,105,101,108,100, 0, 0, 0, 0, 0,
- 20, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0,
- 48, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0,
- 49, 0, 0, 0, 49, 0, 0, 0, 49, 0, 0, 0, 49, 0, 0, 0,
- 49, 0, 0, 0, 49, 0, 0, 0, 49, 0, 0, 0, 51, 0, 0, 0,
- 51, 0, 0, 0, 51, 0, 0, 0, 51, 0, 0, 0, 51, 0, 0, 0,
- 52, 0, 0, 0, 2, 0, 0, 0, 4, 0, 0, 0,107,101,121, 0,
- 0, 0, 0, 0, 19, 0, 0, 0, 6, 0, 0, 0,118, 97,108,117,
- 101, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0, 24, 0,
- 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0,
- 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0,
- 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 20, 0,
- 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 22, 0, 0, 0, 36, 0,
- 0, 0, 22, 0, 0, 0, 38, 0, 0, 0, 44, 0, 0, 0, 38, 0,
- 0, 0, 46, 0, 0, 0, 52, 0, 0, 0, 46, 0, 0, 0, 52, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-};