~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SUBDIRS = external contrib src po man theme-icons build tests
 
1
include $(top_srcdir)/xbuild.include
 
2
 
 
3
SUBDIRS = external . contrib src po man theme-icons build tests
2
4
 
3
5
#capture aclocal flags for autoreconf
4
6
ACLOCAL_AMFLAGS=$(ACLOCAL_FLAGS)
9
11
 
10
12
all: vcrevision
11
13
 
 
14
all-local: sln_build
 
15
 
 
16
clean: clean-local
 
17
 
 
18
clean-local: sln_clean
 
19
 
12
20
vcrevision:
13
21
        @if test -d ../.git; then \
14
22
                version=$$(cd ..; \
15
23
                        LANG=C; export LANG; \
16
 
                        git describe --dirty --always --abbrev=0 --match nothing; \
 
24
                        git rev-parse HEAD; \
17
25
                ); \
18
26
                echo "$$version" > "vcrevision"; \
19
27
        else \
102
110
        mdassembler --out docs/sources/monodevelop-extension-guide --addins docs/extension-model.xml
103
111
#       cd docs/apiguide && mdassembler --out monodevelop-api-guide --xhtml toc.xhtml && mv monodevelop-api-guide.zip ../web/sources
104
112
 
105
 
MD_LAUNCH=$(MD_LAUNCH_SETUP) UBUNTU_MENUPROXY=0 exec -a "monodevelop" $(RUNTIME)
106
 
 
107
 
run: runmd
 
113
MD_LAUNCH=$(MD_LAUNCH_SETUP) UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 exec -a "monodevelop" $(RUNTIME)
 
114
 
 
115
run: runmd-sgen
 
116
 
 
117
run-sgen: runmd-sgen
108
118
 
109
119
runmd: $(PROGRAM)
110
120
        $(MD_LAUNCH) --debug $(MD_BIN_PATH)/MonoDevelop.exe --no-redirect
111
121
 
 
122
runmd-sgen: $(PROGRAM)
 
123
        $(MD_LAUNCH)-sgen --debug $(MD_BIN_PATH)/MonoDevelop.exe --no-redirect
 
124
 
112
125
run-debug: $(PROGRAM)
113
126
        MONODEVELOP_CONSOLE_LOG_LEVEL=All $(MD_LAUNCH) --debug=casts $(MD_BIN_PATH)/MonoDevelop.exe --no-redirect
114
127
 
117
130
        $(MD_LAUNCH_SETUP) gdb $(RUNTIME) -x gdb.commands
118
131
        rm -f gdb.commands
119
132
 
 
133
run-gdb-sgen: $(PROGRAM)
 
134
        echo "run --debug $(MD_BIN_PATH)/MonoDevelop.exe" > gdb.commands
 
135
        $(MD_LAUNCH_SETUP) gdb $(RUNTIME)-sgen -x gdb.commands
 
136
        rm -f gdb.commands
 
137
 
120
138
run-profile: $(PROGRAM)
121
139
        $(MD_LAUNCH) --profile=log:calls $(MD_BIN_PATH)/MonoDevelop.exe --no-redirect
122
140
 
137
155
        $(MDTOOL_RUN) setup reg-build -v
138
156
 
139
157
test:
140
 
        cd tests/UnitTests && make test fixture=$(fixture)
 
158
        cd tests && $(MAKE) test assembly=$(assembly)
141
159
 
142
160
app-dir: all
143
161
        cd build && make app-dir
149
167
 
150
168
# we can't use the variables that are conditionally defined
151
169
EXTRA_DIST = $(bin_SCRIPTS) $(desktop_DATA) $(pixmap_DATA) \
152
 
        monodevelop.xml $(pkgconfig_in_files) vcrevision external/Makefile.in
 
170
        monodevelop.xml $(pkgconfig_in_files) vcrevision external/Makefile.in \
 
171
        Main.sln \
 
172
        md.targets
153
173
 
154
174
DISTCLEANFILES = monodevelop intltool-extract intltool-merge intltool-update \
155
175
        $(pkgconfig_DATA)