Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e7ca9d9036 | |||
| e543baff47 | |||
| b636a25e94 | |||
| 07e05034fc |
@@ -7,8 +7,7 @@ libdice_la_SOURCES = lib/dice_lexer.l \
|
|||||||
lib/dice_parse.y \
|
lib/dice_parse.y \
|
||||||
lib/dice.h \
|
lib/dice.h \
|
||||||
lib/dice.c \
|
lib/dice.c \
|
||||||
lib/diceexpr.c \
|
lib/diceexpr.c
|
||||||
lex.dp.c
|
|
||||||
|
|
||||||
include_HEADERS = lib/dice.h
|
include_HEADERS = lib/dice.h
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,11 @@
|
|||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
if [ $(uname) = "OpenBSD" ]; then
|
||||||
|
export AUTOMAKE_VERSION=1.15
|
||||||
|
export AUTOCONF_VERSION=2.69
|
||||||
|
fi
|
||||||
|
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
PATH=$PATH:/usr/local/bin
|
PATH=$PATH:/usr/local/bin
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.69])
|
||||||
AC_INIT([libdice], [0.1], [florian@n0la.org])
|
AC_INIT([libdice], [0.2], [florian@n0la.org])
|
||||||
AM_INIT_AUTOMAKE([subdir-objects])
|
AM_INIT_AUTOMAKE([subdir-objects])
|
||||||
LT_INIT()
|
LT_INIT()
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
/* empty file, so that autotools has something to compile
|
|
||||||
*/
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
%option prefix="dp"
|
|
||||||
%option bison-bridge
|
%option bison-bridge
|
||||||
%option reentrant
|
%option reentrant
|
||||||
|
%option outfile="../lib/dice_lexer.c"
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#define YYSTYPE DPSTYPE
|
#define YYSTYPE DPSTYPE
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ includedir=@includedir@
|
|||||||
|
|
||||||
Name: libdice
|
Name: libdice
|
||||||
Description: dice rolling and math expression library
|
Description: dice rolling and math expression library
|
||||||
Version: 0.1
|
Version: @VERSION@
|
||||||
Requires:
|
Requires:
|
||||||
Conflicts:
|
Conflicts:
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
|||||||
Reference in New Issue
Block a user