Skip to content

Commit

Permalink
update dist-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Oct 12, 2018
1 parent b0b5bd6 commit 90403ef
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@ dist-hook:
# Need to remove .svn directories from directories
# added using EXTRA_DIST. $(distdir)/tessdata would in
# theory suffice.
rm -rf $(find $(distdir) -name .svn)
rm -rf $(find $(distdir) -name .git)
rm -rf $(find $(distdir) -name .deps)
rm -rf $(find $(distdir) -name .libs)
rm -rf $(find $(distdir) -name *.o)
rm -rf $(find $(distdir) -name *.lo)
rm -rf $(find $(distdir) -name *.la)
rm -rf $(find $(distdir)/training -executable -type f)
rm -rf $(distdir)/doc/html/*
rm -rf `find $(distdir) -name .deps -type d`
-rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile
rm -f `find $(distdir) -name '*~'`
rm -rf $(find $(distdir)/src/training -executable -type f)
rm -rf $(distdir)/doc/html/* $(distdir)/doc/*.log

ScrollView.jar:
@cd "$(top_builddir)/java" && $(MAKE) $@
Expand Down

0 comments on commit 90403ef

Please sign in to comment.