summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-04 18:36:31 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-04 18:36:31 -0800
commit98e29badd1a5a99eaeba0d80884ac0f0caae3b18 (patch)
tree16b1983860a322434842c613cc6f16eb5b08954b
parent545876dc0ebfdc23f610c4d5cae87ca7fb40be02 (diff)
downloadflex-98e29badd1a5a99eaeba0d80884ac0f0caae3b18.tar.gz
flex-98e29badd1a5a99eaeba0d80884ac0f0caae3b18.tar.bz2
flex-98e29badd1a5a99eaeba0d80884ac0f0caae3b18.zip
add packaging
-rw-r--r--Makefile.am1
-rw-r--r--packaging/flex.spec1
-rw-r--r--packaging/lex-wrapper.sh2
3 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a23d294..8feec28 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -111,7 +111,6 @@ BUILT_SOURCES = \
SUBDIRS = \
lib \
. \
- doc \
examples \
po \
tools \
diff --git a/packaging/flex.spec b/packaging/flex.spec
index e008037..3c76b4e 100644
--- a/packaging/flex.spec
+++ b/packaging/flex.spec
@@ -9,6 +9,7 @@ Source: %{name}-%{version}.tar.bz2
Source1: lex-wrapper.sh
Source3: baselibs.conf
BuildRequires: automake
+BuildRequires: makeinfo
BuildRequires: bison
BuildRequires: gcc-c++
BuildRequires: gettext-tools
diff --git a/packaging/lex-wrapper.sh b/packaging/lex-wrapper.sh
new file mode 100644
index 0000000..7051b86
--- /dev/null
+++ b/packaging/lex-wrapper.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/flex -l "$@"