Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test and lib/cpp when making DIST
Client: build
Patch: jfarrell
Fixing all the missing files and dist build issues that have been ignored.
diff --git a/Makefile.am b/Makefile.am
index 18749c3..af25ad3 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,22 +25,23 @@
SUBDIRS += test
endif
+SUBDIRS += tutorial
+
dist-hook:
- find $(distdir) -type f \( -iname ".deps" -or -iname ".libs" -or -iname ".gitignore" \
- -or -iname ".DS_Store" -or -iname "._*" \) | xargs rm -rf
+ find $(distdir) -type f \( -iname ".DS_Store" -or -iname "._*" -or -iname ".gitignore" \) | xargs rm -rf
+ find $(distdir) -type d \( -iname ".deps" -or -iname ".libs" \) | xargs rm -rf
find $(distdir) -type d \( -iname ".svn" -or -iname ".git" \) | xargs rm -rf
print-version:
@echo $(VERSION)
EXTRA_DIST = \
- .travis.yml \
- contrib \
- debian \
- doc \
- doap.rdf \
- sonar-project.properties \
- tutorial \
- LICENSE \
- CHANGES \
- NOTICE
+ .travis.yml \
+ contrib \
+ debian \
+ doc \
+ doap.rdf \
+ sonar-project.properties \
+ LICENSE \
+ CHANGES \
+ NOTICE