Skip to content

Commit

Permalink
Manually remove $(BUILT_SOURCES) since no-dist-built-sources doesnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbruggink authored and Jens-G committed Apr 2, 2024
1 parent f6972f1 commit 63f0458
Show file tree
Hide file tree
Showing 87 changed files with 260 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ skipped_files = $(subst $(space),$(comma),$(codespell_skip_files))
style-local:
codespell --write-changes --skip=$(skipped_files) --disable-colors

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
.asf.yaml \
.clang-format \
Expand Down
3 changes: 3 additions & 0 deletions compiler/cpp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ WINDOWS_DIST = \
compiler.vcxproj \
compiler.vcxproj.filters

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
coding_standards.md \
README.md \
Expand Down
3 changes: 3 additions & 0 deletions compiler/cpp/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ clean-local:
$(RM) thrift/thriftl.cc thrift/thrifty.cc thrift/thrifty.h thrift/thrifty.hh


distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
thrift/logging.cc \
thrift/windows/config.h
3 changes: 3 additions & 0 deletions compiler/cpp/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@

AUTOMAKE_OPTIONS = subdir-objects serial-tests nostdinc

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

AM_CPPFLAGS = -I$(top_srcdir)/compiler/cpp/src
AM_CXXFLAGS = -Wall -Wextra -pedantic
3 changes: 3 additions & 0 deletions contrib/fb303/py/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

DESTDIR ?= /
distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = setup.py src

all:
Expand Down
3 changes: 3 additions & 0 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ endif

# All of the libs that don't use Automake need to go in here
# so they will end up in our release tarballs.
distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
d \
dart \
Expand Down
3 changes: 3 additions & 0 deletions lib/c_glib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ include_processor_HEADERS = src/thrift/c_glib/processor/thrift_processor.h \
src/thrift/c_glib/processor/thrift_multiplexed_processor.h


distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
CMakeLists.txt \
coding_standards.md \
Expand Down
3 changes: 3 additions & 0 deletions lib/c_glib/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ CLEANFILES = \
*.gcda \
*.gcov

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
CMakeLists.txt \
ContainerTest.thrift
Expand Down
3 changes: 3 additions & 0 deletions lib/cl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ clean-local:
$(RM) run-tests quicklisp.lisp backport-update.zip
$(RM) -rf lib externals quicklisp

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
README.md \
READMES \
Expand Down
3 changes: 3 additions & 0 deletions lib/cpp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ WINDOWS_DIST = \
libthriftnb.vcxproj.filters \
3rdparty.props

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
CMakeLists.txt \
coding_standards.md \
Expand Down
3 changes: 3 additions & 0 deletions lib/cpp/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ AM_CXXFLAGS = -Wall -Wextra -pedantic
clean-local:
$(RM) gen-cpp/*

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
concurrency \
processor \
Expand Down
3 changes: 3 additions & 0 deletions lib/d/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ TESTS = $(addprefix unittest/debug/, $(d_test_modules)) \
precross: all-local
$(MAKE) -C test precross

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
src \
test \
Expand Down
2 changes: 2 additions & 0 deletions lib/d/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ thrift_test_gen = $(addprefix gen-d/thrift/test/, SecondService.d \
$(thrift_test_gen): $(top_srcdir)/test/v0.16/ThriftTest.thrift
$(THRIFT) --gen d $<

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

# The actual test targets.
# There just must be some way to reassign a variable without warnings in
Expand Down
3 changes: 3 additions & 0 deletions lib/dart/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ clean-local:

check-local: all

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

dist-hook:
$(RM) -r $(distdir)/.pub
find $(distdir) -type d -name ".dart_tool" | xargs $(RM) -r
Expand Down
3 changes: 3 additions & 0 deletions lib/erl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ dist-hook:
$(RM) -r $(distdir)/test/gen-erl/
$(RM) $(distdir)/$(THRIFT_OMIT_FILE)

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
include \
src \
Expand Down
3 changes: 3 additions & 0 deletions lib/go/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ clean-local:
all-local:
$(GO) build $(GOBUILDEXTRA) ./thrift

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
thrift \
coding_standards.md \
Expand Down
3 changes: 3 additions & 0 deletions lib/go/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ clean-local:
client: stubs
$(GO) run TestClient.go

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
dontexportrwtest \
tests \
Expand Down
3 changes: 3 additions & 0 deletions lib/go/test/fuzz/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ check: gopathfuzz
clean-local:
$(RM) -rf gopathfuzz gen-go

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
fuzz.go \
fuzz_test.go \
Expand Down
3 changes: 3 additions & 0 deletions lib/haxe/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ check: $(BIN_CPP) $(BIN_PHP)
$(BIN_CPP)
php -f $(BIN_PHP)

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
src \
cpp.hxml \
Expand Down
3 changes: 3 additions & 0 deletions lib/java/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ maven-publish:
-Pthrift.version=$(PACKAGE_VERSION) \
--console=plain

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
build.gradle \
gradle.properties \
Expand Down
3 changes: 3 additions & 0 deletions lib/js/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ dist-hook:
$(RM) -r $(distdir)/test/build/
$(RM) -r $(distdir)/test/gen-*/

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
coding_standards.md \
Gruntfile.js \
Expand Down
3 changes: 3 additions & 0 deletions lib/js/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ clean-local:
ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
$$ANT $(ANT_FLAGS) clean

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

check-local: all
$(ANT) $(ANT_FLAGS) test

3 changes: 3 additions & 0 deletions lib/json/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ clean-local:
dist-hook:
$(RM) -r $(distdir)/test/build/

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
schema.json \
test
3 changes: 3 additions & 0 deletions lib/json/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
check:
$(ANT) $(ANT_FLAGS) test

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

# Make sure this doesn't fail if ant is not configured.
clean-local:
ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
Expand Down
3 changes: 3 additions & 0 deletions lib/kotlin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ check-local: $(THRIFT)
-Pthrift.compiler=$(THRIFT) \
--console=plain

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
build.gradle.kts \
CMakeLists.txt \
Expand Down
3 changes: 3 additions & 0 deletions lib/lua/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ liblualongnumber_la_CPPFLAGS = $(AM_CPPFLAGS) $(LUA_INCLUDE) -DLUA_COMPAT_MODULE
liblualongnumber_la_LDFLAGS = $(AM_LDFLAGS)
liblualongnumber_la_LIBADD = $(LUA_LIB) -lm

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
coding_standards.md \
TBinaryProtocol.lua \
Expand Down
3 changes: 3 additions & 0 deletions lib/netstd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ clean-local:
$(RM) -r Tests/Thrift.PublicInterfaces.Compile.Tests/bin
$(RM) -r Tests/Thrift.PublicInterfaces.Compile.Tests/obj

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
README.md \
Directory.Build.props \
Expand Down
3 changes: 3 additions & 0 deletions lib/nodejs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ clean-local:
$(RM) -r test/episodic-code-generation-test/gen*
$(RM) -r test/episodic-code-generation-test/node_modules

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
examples \
lib \
Expand Down
3 changes: 3 additions & 0 deletions lib/nodets/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ clean-local:
$(RM) -r $(top_srcdir)/node_modules
$(RM) -r test-compiled

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
test \
coding_standards.md
3 changes: 3 additions & 0 deletions lib/perl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ clean-local:
$(RM) Makefile-perl.mk.old
$(RM) -r gen-perl gen-perl2

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
coding_standards.md \
build-cpan-dist.sh \
Expand Down
3 changes: 3 additions & 0 deletions lib/perl/t/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
# under the License.
#

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = memory_buffer.t processor.t multiplex.t
5 changes: 4 additions & 1 deletion lib/php/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ phptype_DATA = \
clean-local:
if [ -f src/ext/thrift_protocol/Makefile ]; then cd src/ext/thrift_protocol/ && $(MAKE) clean; fi

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
lib \
Expand All @@ -149,7 +151,8 @@ EXTRA_DIST = \
coding_standards.md \
thrift_protocol.ini \
README.apache.md \
README.md
README.md \
test


MAINTAINERCLEANFILES = \
Expand Down
3 changes: 3 additions & 0 deletions lib/php/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ check: deps stubs

distclean-local:

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

clean-local:
$(RM) -r ./Resources/packages
$(RM) test-log-junit.xml
3 changes: 3 additions & 0 deletions lib/py/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ dist-hook:
find $(distdir) -type f \( -iname "*.pyc" \) | xargs rm -f
find $(distdir) -type d \( -iname "__pycache__" -or -iname "_trial_temp" \) | xargs rm -rf

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
CMakeLists.txt \
MANIFEST.in \
Expand Down
3 changes: 3 additions & 0 deletions lib/rb/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ endif
dist-hook:
$(RM) -r $(distdir)/spec/gen-rb/

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
coding_standards.md \
Rakefile \
Expand Down
3 changes: 3 additions & 0 deletions lib/rs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ clean-local:
$(CARGO) clean
-$(RM) Cargo.lock

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
src \
Cargo.toml \
Expand Down
3 changes: 3 additions & 0 deletions lib/rs/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ clean-local:
-$(RM) src/identifiers.rs
-$(RM) -r bin

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
Cargo.toml \
thrifts/Base_One.thrift \
Expand Down
3 changes: 3 additions & 0 deletions lib/rs/test_recursive/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ clean-local:
$(CARGO) clean
-$(RM) Cargo.lock

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
Cargo.toml
3 changes: 3 additions & 0 deletions lib/rs/test_recursive/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ check: stubs
clean-local:
-$(RM) vehicles.rs

distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am

EXTRA_DIST = \
lib.rs \
Vehicles.thrift

0 comments on commit 63f0458

Please sign in to comment.