Skip to content

Commit

Permalink
Merge pull request #115 from k-takata/delete-genfiles
Browse files Browse the repository at this point in the history
Delete all autotools generated files
  • Loading branch information
k-takata authored Jan 30, 2019
2 parents d83ff3c + f452adc commit 4588dd7
Show file tree
Hide file tree
Showing 27 changed files with 55 additions and 43,933 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,30 @@
/build*/

# autotools generated files
/aclocal.m4
/autom4te.cache
/compile
/config.guess
/config.h
/config.h.in
/config.log
/config.status
/config.sub
/configure
/depcomp
/install-sh
/libtool
/ltmain.sh
/m4/*.m4
/missing
/onigmo-config
/onigmo.pc
/Makefile
/Makefile.in
/sample/Makefile
/sample/Makefile.in
/stamp-h1
/test-driver

# generated executable files
/enc/mktable
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ before_install:
- gem install lcoveralls

before_script:
- ./autogen.sh
- ./configure $CONFOPT && make

script:
- make test

after_success:
- lcov -c -d .libs -o coverage.info
- lcov -c -d .libs -d enc/.libs -o coverage.info
- lcoveralls --retry-count 5 coverage.info
- bash <(curl -s https://codecov.io/bash)
44 changes: 22 additions & 22 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@ libonigmo_la_SOURCES = regint.h regparse.h regenc.h st.h \
regerror.c regparse.c regext.c regcomp.c regexec.c reggnu.c \
regenc.c regsyntax.c regtrav.c regversion.c st.c \
regposix.c regposerr.c \
$(encdir)/unicode.c $(encdir)/ascii.c $(encdir)/utf_8.c \
$(encdir)/utf_16be.c $(encdir)/utf_16le.c \
$(encdir)/utf_32be.c $(encdir)/utf_32le.c \
$(encdir)/unicode/casefold.h $(encdir)/unicode/name2ctype.h \
$(encdir)/euc_jp.c $(encdir)/shift_jis.c $(encdir)/shift_jis.h \
$(encdir)/windows_31j.c \
$(encdir)/jis/props.h $(encdir)/jis/props.kwd \
$(encdir)/iso_8859.h $(encdir)/iso_8859_1.c \
$(encdir)/iso_8859_2.c $(encdir)/iso_8859_3.c \
$(encdir)/iso_8859_4.c $(encdir)/iso_8859_5.c \
$(encdir)/iso_8859_6.c $(encdir)/iso_8859_7.c \
$(encdir)/iso_8859_8.c $(encdir)/iso_8859_9.c \
$(encdir)/iso_8859_10.c $(encdir)/iso_8859_11.c \
$(encdir)/iso_8859_13.c $(encdir)/iso_8859_14.c \
$(encdir)/iso_8859_15.c $(encdir)/iso_8859_16.c \
$(encdir)/euc_tw.c $(encdir)/euc_kr.c $(encdir)/big5.c \
$(encdir)/gb18030.c $(encdir)/koi8_r.c $(encdir)/koi8_u.c \
$(encdir)/windows_1250.c $(encdir)/windows_1251.c \
$(encdir)/windows_1252.c $(encdir)/windows_1253.c \
$(encdir)/windows_1254.c $(encdir)/windows_1257.c
enc/unicode.c enc/ascii.c enc/utf_8.c \
enc/utf_16be.c enc/utf_16le.c \
enc/utf_32be.c enc/utf_32le.c \
enc/unicode/casefold.h enc/unicode/name2ctype.h \
enc/euc_jp.c enc/shift_jis.c enc/shift_jis.h \
enc/windows_31j.c \
enc/jis/props.h enc/jis/props.kwd \
enc/iso_8859.h enc/iso_8859_1.c \
enc/iso_8859_2.c enc/iso_8859_3.c \
enc/iso_8859_4.c enc/iso_8859_5.c \
enc/iso_8859_6.c enc/iso_8859_7.c \
enc/iso_8859_8.c enc/iso_8859_9.c \
enc/iso_8859_10.c enc/iso_8859_11.c \
enc/iso_8859_13.c enc/iso_8859_14.c \
enc/iso_8859_15.c enc/iso_8859_16.c \
enc/euc_tw.c enc/euc_kr.c enc/big5.c \
enc/gb18030.c enc/koi8_r.c enc/koi8_u.c \
enc/windows_1250.c enc/windows_1251.c \
enc/windows_1252.c enc/windows_1253.c \
enc/windows_1254.c enc/windows_1257.c

libonigmo_la_LDFLAGS = -version-info $(LTVERSION) -no-undefined

Expand Down Expand Up @@ -139,8 +139,8 @@ pytest:
# Collect coverage data and write to coverage.info, then create HTML output
# in the coverage directory.
lcov:
if [ ! -f $(builddir)/enc/jis/props.kwd ]; then mkdir -p $(builddir)/enc/jis; cp $(srcdir)/enc/jis/props.kwd $(builddir)/enc/jis/props.kwd; fi
lcov -c -d .libs -o coverage.info
if [ ! -f $(builddir)/enc/jis/props.kwd ]; then mkdir -p $(builddir)/enc/jis; cp -p $(srcdir)/enc/jis/props.kwd $(builddir)/enc/jis/props.kwd; fi
lcov -c -d .libs -d enc/.libs -o coverage.info
genhtml -o coverage coverage.info

# Clear coverage data.
Expand Down
Loading

0 comments on commit 4588dd7

Please sign in to comment.