1ACLOCAL_AMFLAGS = -I m4 2 3if BUILD_CLI 4 CLI_DIR = cli 5endif 6if BUILD_DAEMON 7if !WIN32 8 DAEMON_DIR = daemon 9endif 10endif 11if BUILD_GTK 12 GTK_DIR = gtk po 13endif 14if BUILD_MAC 15 MAC_DIR = macosx 16endif 17 18SUBDIRS = \ 19 extras \ 20 third-party \ 21 libtransmission \ 22 utils \ 23 $(DAEMON_DIR) \ 24 $(CLI_DIR) \ 25 $(GTK_DIR) \ 26 $(MAC_DIR) \ 27 web 28 29EXTRA_DIST = \ 30 qt \ 31 NEWS.md \ 32 AUTHORS \ 33 COPYING \ 34 README.md \ 35 autogen.sh \ 36 update-version-h.sh \ 37 Transmission.xcodeproj/project.pbxproj 38 39EXTRA_DIST += \ 40 CMakeLists.txt \ 41 cmake \ 42 cli/CMakeLists.txt \ 43 daemon/CMakeLists.txt \ 44 gtk/CMakeLists.txt \ 45 libtransmission/CMakeLists.txt \ 46 libtransmission/version.h.in \ 47 po/CMakeLists.txt \ 48 qt/CMakeLists.txt \ 49 utils/CMakeLists.txt 50 51if HAVE_REVISION_FILE 52 EXTRA_DIST += REVISION 53endif 54 55dist-hook: 56 find "$(distdir)/qt" "$(distdir)/cmake" -name .svn -exec rm -rf '{}' '+' -prune 57 58DISTCLEANFILES = \ 59 intltool-extract \ 60 intltool-merge \ 61 intltool-update 62