source: trunk/Makefile.am @ 6319

Last change on this file since 6319 was 6319, checked in by charles, 13 years ago

(1) add clutch to the tarball.
(2) on autoconf-based installs, install the clutch files in $(datadir)/transmission/web
(3) new function tr_getClutchDir(). Default implementation follows the XDG spec.

File size: 2.3 KB
Line 
1ACLOCAL_AMFLAGS = -I m4
2
3if BUILD_BEOS
4  BEOS_DIR = beos
5endif
6if BUILD_CLI
7  CLI_DIR = cli
8endif
9if BUILD_DAEMON
10  DAEMON_DIR = daemon
11endif
12if BUILD_DARWIN
13  MAC_DIR = macosx
14endif
15if BUILD_GTK
16  GTK_DIR = gtk po
17endif
18if BUILD_WX
19  WX_DIR = wx
20endif
21
22SUBDIRS = \
23  doc \
24  third-party \
25  libtransmission \
26  $(DAEMON_DIR) \
27  $(CLI_DIR) \
28  $(BEOS_DIR) \
29  $(GTK_DIR) \
30  $(MAC_DIR) \
31  $(WX_DIR)
32
33EXTRA_DIST = \
34  web \
35  NEWS \
36  AUTHORS \
37  COPYING \
38  README \
39  Transmission.xcodeproj/project.pbxproj \
40  intltool-extract.in \
41  intltool-merge.in \
42  intltool-update.in
43
44clutchdir = $(datadir)/transmission/web
45clutch_DATA = \
46  web/index.html \
47  web/LICENSE
48
49clutch_cssdir = $(clutchdir)/stylesheets
50clutch_css_DATA = \
51  web/stylesheets/iphone.css \
52  web/stylesheets/common.css
53
54clutch_jsdir = $(clutchdir)/javascript
55clutch_js_DATA = \
56  web/javascript/menu.js \
57  web/javascript/dialog.js \
58  web/javascript/transmission.js \
59  web/javascript/transmission.remote.js \
60  web/javascript/common.js \
61  web/javascript/torrent.js
62
63clutch_jquerydir = $(clutch_jsdir)/jquery
64clutch_jquery_DATA = \
65  web/javascript/jquery \
66  web/javascript/jquery/json.min.js \
67  web/javascript/jquery/jquery.contextmenu.min.js \
68  web/javascript/jquery/jquery.min.js \
69  web/javascript/jquery/jquery.form.min.js \
70  web/javascript/jquery/jquery.transmenu.min.js \
71  web/javascript/jquery/jquery-dimensions.min.js
72
73clutch_imagesdir = $(clutchdir)/images
74clutch_images_DATA = \
75  web/images/favicon.ico \
76  web/images/webclip-icon.png
77
78clutch_graphicsdir = $(clutch_imagesdir)/graphics
79clutch_graphics_DATA = \
80  web/images/graphics/browser_firefox.gif \
81  web/images/graphics/logo.png \
82  web/images/graphics/chrome.png \
83  web/images/graphics/iphone_chrome.png \
84  web/images/graphics/browser_opera.gif \
85  web/images/graphics/filter_bar.png \
86  web/images/graphics/transfer_arrows.png \
87  web/images/graphics/browser_safari.gif
88
89clutch_progressdir = $(clutch_imagesdir)/progress
90clutch_progress_DATA = \
91  web/images/progress/progress.png
92
93clutch_buttonsdir = $(clutch_imagesdir)/buttons
94clutch_buttons_DATA = \
95  web/images/buttons/tab_backgrounds.png \
96  web/images/buttons/toolbar_buttons.png \
97  web/images/buttons/info_general.png \
98  web/images/buttons/torrent_buttons.png \
99  web/images/buttons/info_activity.png
100
101DISTCLEANFILES = \
102  intltool-extract \
103  intltool-merge \
104  intltool-update
Note: See TracBrowser for help on using the repository browser.