summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:15:42 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:15:43 +0900
commit84f111e3e97ae41bd9b90f9963c5f102bb677829 (patch)
treea065eedf4c38c8e7a7bec0491c72d12544c8c0d6 /Makefile.am
parent8aaaef93cd5a5ef6d77c8c0094079cb3c7c2d5eb (diff)
downloadre2c-84f111e3e97ae41bd9b90f9963c5f102bb677829.tar.gz
re2c-84f111e3e97ae41bd9b90f9963c5f102bb677829.tar.bz2
re2c-84f111e3e97ae41bd9b90f9963c5f102bb677829.zip
Imported Upstream version 0.13.6
Change-Id: I6750158a4d4c0fb1214897a3e023cb11717b80ae Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'Makefile.am')
-rwxr-xr-xMakefile.am13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 5e2d69a5..75ad0442 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-# $Id: Makefile.am 863 2008-05-25 14:38:16Z helly $
+# $Id$
bin_PROGRAMS = re2c
win_BINARIES = $(WINBUILDDIR)/re2c.exe
@@ -27,10 +27,10 @@ EXTRA_DIST = $(EXTRA_SRC) makerpm.in re2c.spec.in re2c.spec README.in config_w
EXTRA_ZIP = $(EXTRA_SRC) config_w32.h *.sln *.vcproj re2c.rules
dist-hook: vtest re2c.spec
- rm -rf `find $(distdir)/doc -name .svn`
- rm -rf `find $(distdir)/examples -name .svn`
- rm -rf `find $(distdir)/test -name .svn -o -name .cvsignore`
- rm -rf `find $(distdir)/lessons -name .svn -o -name .cvsignore`
+ rm -rf `find $(distdir)/doc -name .git`
+ rm -rf `find $(distdir)/examples -name .git`
+ rm -rf `find $(distdir)/test -name .git -o -name .gitignore`
+ rm -rf `find $(distdir)/lessons -name .git -o -name .gitignore`
rpm-files: $(bin_PROGRAMS) $(EXTRA_DIST)
@@ -48,8 +48,7 @@ src-rpm: dist
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 .svn | xargs zip -d re2c-$(PACKAGE_VERSION)-src.zip >/dev/null
- zipinfo -1 re2c-$(PACKAGE_VERSION)-src.zip | grep .cvsignore | xargs zip -d re2c-$(PACKAGE_VERSION)-src.zip >/dev/null
+ 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); \