summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:17:05 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:17:07 +0900
commit0712c3599bfebc49eda8ab8c49e5536d968d8da7 (patch)
treea76e99ec24aa4bb340e96e53b93addae9da253e7 /Makefile.am
parent307d1e8f2b8d73b425518ced60a441aff64ff8a2 (diff)
downloadre2c-0712c3599bfebc49eda8ab8c49e5536d968d8da7.tar.gz
re2c-0712c3599bfebc49eda8ab8c49e5536d968d8da7.tar.bz2
re2c-0712c3599bfebc49eda8ab8c49e5536d968d8da7.zip
Imported Upstream version 0.14
Change-Id: Id2146ce087edd7a4b5d5743f692ea29c2051ccb1 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'Makefile.am')
-rwxr-xr-xMakefile.am14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 708cc117..1e7f8cf2 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,9 +3,9 @@
bin_PROGRAMS = re2c
win_BINARIES = $(WINBUILDDIR)/re2c.exe
re2c_SOURCES = code.cc dfa.cc main.cc parser.cc actions.cc scanner.re substr.cc range.cc \
- translate.cc scanner.cc mbo_getopt.cc print.cc \
+ translate.cc scanner.cc mbo_getopt.cc print.cc input_api.cc \
enc.cc utf8.cc utf8_range.cc utf8_regexp.cc utf16.cc utf16_range.cc utf16_regexp.cc range_suffix.cc \
- basics.h code.h code_names.h dfa.h enc.h free_list.h globals.h ins.h \
+ basics.h code.h code_names.h dfa.h enc.h indent.h input_api.h free_list.h globals.h ins.h \
mbo_getopt.h parser.h print.h range.h range_suffix.h re.h \
scanner.h smart_ptr.h substr.h stream_lc.h token.h \
utf16.h utf16_range.h utf16_regexp.h utf8.h utf8_range.h utf8_regexp.h
@@ -28,10 +28,10 @@ man_MANS = re2c.1
DOCS = $(man_MANS) htdocs/manual.html
EXTRA_SRC = README parser.y scanner.re y.tab.h CHANGELOG NO_WARRANTY \
- doc examples test bootstrap/*.cc bootstrap/*.h lessons \
+ doc examples test bootstrap/*.cc bootstrap/*.h bootstrap/re2c.1 lessons \
$(DOCS)
EXTRA_DIST = $(EXTRA_SRC) makerpm.in re2c.spec.in re2c.spec README.in config_w32.h.in
-EXTRA_ZIP = $(EXTRA_SRC) config_w32.h *.sln *.vcproj re2c.rules
+EXTRA_ZIP = $(EXTRA_SRC) config_w32.h re2c.rules
dist-hook: re2c.spec
rm -rf `find $(distdir)/doc -name .git`
@@ -101,8 +101,10 @@ $(DOCS): re2c.ad
a2x -f manpage re2c.ad
mkdir -p htdocs
asciidoc -o htdocs/manual.html re2c.ad
+ cp re2c.1 $(top_srcdir)/bootstrap/re2c.1
else
-docs:
+docs: $(DOCS)
+$(DOCS): $(top_srcdir)/bootstrap/re2c.1
@echo "Reconfigure to rebuild docs: ./configure --enable-docs"
- @exit 1
+ cp $(top_srcdir)/bootstrap/re2c.1 $(top_srcdir)/re2c.1
endif