Skip to content

Commit

Permalink
Stop to include config.h into tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 22, 2018
1 parent cdb9f8d commit b050a9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions vendor/mruby/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ if(GRN_WITH_MRUBY)
set(MRUBY_ALL_SOURCES
${MRUBY_SOURCES}
${MRUBY_BUILT_SOURCES}
"${CMAKE_CURRENT_BINARY_DIR}/mruby-file-stat/src/config.h"
)
add_library(mruby STATIC ${MRUBY_ALL_SOURCES})
set_target_properties(
Expand Down
4 changes: 3 additions & 1 deletion vendor/mruby/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ endif
include sources.am
include built_sources.am
libmruby_la_SOURCES += $(BUILT_SOURCES)
nodist_libmruby_la_SOURCES = \
mruby-file-stat/src/config.h

LEGAL: mruby_build.timestamp
mrblib.c: mruby_build.timestamp
Expand All @@ -47,7 +49,7 @@ mruby-onig-regexp/src/mruby_onig_regexp.c: mruby_build.timestamp
mruby-env/src/env.c: mruby_build.timestamp
mruby-file-stat/src/file-stat.c: mruby_build.timestamp
if HAVE_SYS_SYSMACROS_H
mruby-file-stat/src/config.h: mruby_build.timestamp
mruby-file-stat/src/config.h:
echo "#define HAVE_SYS_SYSMACROS_H 1" > "$(builddir)/$@"
else
mruby-file-stat/src/config.h: mruby_build.timestamp
Expand Down
1 change: 0 additions & 1 deletion vendor/mruby/built_sources.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ BUILT_SOURCES = \
mruby-compiler/core/parse.c \
mruby-onig-regexp/src/mruby_onig_regexp.c \
mruby-env/src/env.c \
mruby-file-stat/src/config.h \
mruby-file-stat/src/file-stat.c \
mruby-dir/src/dir.c

0 comments on commit b050a9c

Please sign in to comment.