summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:17:38 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:17:39 +0900
commit8466469efcf058c18e3c9cb0fad615c6c4b3e669 (patch)
tree73e1b82fed3753ef2da1a9e3ea2d1678797a1b73 /Makefile.am
parent1108713bd4b4e1353fbffffa9d049fef8a100503 (diff)
downloadre2c-8466469efcf058c18e3c9cb0fad615c6c4b3e669.tar.gz
re2c-8466469efcf058c18e3c9cb0fad615c6c4b3e669.tar.bz2
re2c-8466469efcf058c18e3c9cb0fad615c6c4b3e669.zip
Imported Upstream version 0.14.3
Change-Id: I1501107e2194885895af2c8660aacf0859e2da10 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'Makefile.am')
-rwxr-xr-xMakefile.am13
1 files changed, 1 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am
index 1e7f8cf2..fb25afa5 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,6 @@
# $Id$
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 input_api.cc \
enc.cc utf8.cc utf8_range.cc utf8_regexp.cc utf16.cc utf16_range.cc utf16_regexp.cc range_suffix.cc \
@@ -31,7 +30,6 @@ EXTRA_SRC = README parser.y scanner.re y.tab.h CHANGELOG NO_WARRANTY \
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 re2c.rules
dist-hook: re2c.spec
rm -rf `find $(distdir)/doc -name .git`
@@ -52,16 +50,7 @@ src-rpm: dist
rpmbuild -bs re2c.spec
cp -f `rpm --eval "%{_srcrpmdir}"`/re2c-$(PACKAGE_VERSION)-$(PACKAGE_RELEASE).src.rpm .
-zip: $(bin_PROGRAMS) $(EXTRA_ZIP)
- if test -f re2c-$(PACKAGE_VERSION)-src.zip; then rm -f re2c-$(PACKAGE_VERSION)-src.zip; fi
- zip -q -o -9 -r re2c-$(PACKAGE_VERSION)-src.zip $(re2c_SOURCES) $(EXTRA_ZIP)
- zipinfo -1 re2c-$(PACKAGE_VERSION)-src.zip | grep .git | xargs zip -d re2c-$(PACKAGE_VERSION)-src.zip >/dev/null
- if test -f re2c-$(PACKAGE_VERSION)-bin.zip; then rm -f re2c-$(PACKAGE_VERSION)-bin.zip; fi
- if test -f $(WINBUILDDIR)/re2c.exe; then \
- zip -q -o -9 -j re2c-$(PACKAGE_VERSION)-bin.zip $(win_BINARIES); \
- fi;
-
-release: dist zip src-rpm
+release: dist src-rpm
parser.cc: $(top_srcdir)/parser.y
@if test $(BISON) = "yes"; then \