~didrocks/ubuntuone-client/use_result_var

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Rodney Dawes
  • Date: 2011-02-11 16:18:11 UTC
  • mto: This revision was merged to the branch mainline in revision 67.
  • Revision ID: james.westby@ubuntu.com-20110211161811-n18dj9lde7dxqjzr
Tags: upstream-1.5.4
ImportĀ upstreamĀ versionĀ 1.5.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
STRIP = @STRIP@
256
256
USE_NLS = @USE_NLS@
257
257
USP_PATH = @USP_PATH@
 
258
VALAC = @VALAC@
 
259
VAPIGEN = @VAPIGEN@
258
260
VERSION = @VERSION@
259
261
XGETTEXT = @XGETTEXT@
260
262
abs_builddir = @abs_builddir@
320
322
PYTHONPATH = "$(SSO_PATH):$(USP_PATH):$(top_builddir):$(top_srcdir)"
321
323
 
322
324
# Python packages we want to install
 
325
pythonpkgdir = $(pythondir)/$(PACKAGE)
323
326
pypackages = \
324
 
        ubuntuone/api                   \
325
 
        ubuntuone/credentials           \
326
 
        ubuntuone/eventlog              \
327
 
        ubuntuone/platform              \
328
 
        ubuntuone/platform/linux        \
329
 
        ubuntuone/platform/windows      \
330
 
        ubuntuone/status                \
331
 
        ubuntuone/syncdaemon/fsm        \
332
 
        ubuntuone/syncdaemon            \
333
 
        ubuntuone/u1sync                \
334
 
        ubuntuone
 
327
        ubuntuone       \
 
328
        $(shell SRCDIR="ubuntuone"; for i in `find $$SRCDIR -type d`; do DIRNAME=`basename $$i`; if [ "x$$DIRNAME" != "xtest" ]; then printf "$$i "; fi; done)
335
329
 
336
330
 
337
331
# Install our scripts and extra data here
338
332
bin_SCRIPTS = \
339
 
        bin/ubuntuone-preferences       \
340
333
        bin/ubuntuone-launch            \
341
 
        bin/u1sdtool                    \
342
 
        bin/u1sync
 
334
        bin/u1sdtool
343
335
 
344
336
libexec_SCRIPTS = \
345
337
        bin/ubuntuone-syncdaemon        \
346
338
        bin/ubuntuone-login
347
339
 
348
 
clientdefsdir = $(pythondir)/ubuntuone
 
340
clientdefsdir = $(pythonpkgdir)/ubuntuone
349
341
clientdefs_in_files = ubuntuone/clientdefs.py.in
350
342
clientdefs_DATA = $(clientdefs_in_files:.py.in=.py)
351
343
 
999
991
test: logging.conf $(clientdefs_DATA) Makefile
1000
992
        echo "$(PYTHONPATH)"
1001
993
        if test "x$(builddir)" == "x$(srcdir)"; then \
1002
 
                PYTHONPATH="$(PYTHONPATH)" u1trial tests; \
 
994
                PYTHONPATH="$(PYTHONPATH)" u1trial tests -p tests/platform/windows; \
1003
995
        fi
1004
996
        rm -rf _trial_temp
1005
997
 
1043
1035
 
1044
1036
install-data-local: $(clientdefs_DATA)
1045
1037
        for package in $(pypackages); do \
1046
 
                $(mkdir_p) $(DESTDIR)$(pythondir)/$$package; \
 
1038
                $(mkdir_p) $(DESTDIR)$(pythonpkgdir)/$$package; \
1047
1039
                for module in $(top_srcdir)/$$package/*.py; do \
1048
 
                        $(install_sh_DATA) $$module $(DESTDIR)$(pythondir)/$$package; \
 
1040
                        $(install_sh_DATA) $$module $(DESTDIR)$(pythonpkgdir)/$$package; \
1049
1041
                done; \
1050
1042
        done
 
1043
        echo "$(PACKAGE)" > $(DESTDIR)$(pythondir)/$(PACKAGE).pth
1051
1044
 
1052
1045
uninstall-local:
1053
1046
        for package in $(pypackages); do \
1054
1047
                for module in $(top_srcdir)/$$package/*.py; do \
1055
1048
                        modname=`basename $$module`; \
1056
 
                        rm -f $(DESTDIR)$(pythondir)/$$package/$$modname; \
 
1049
                        rm -f $(DESTDIR)$(pythonpkgdir)/$$package/$$modname; \
1057
1050
                done; \
1058
 
                rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(pythondir)/$$package; \
 
1051
                rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(pythonpkgdir)/$$package; \
1059
1052
        done
 
1053
        rm -f $(DESTDIR)$(pythondir)/$(PACKAGE).pth
1060
1054
 
1061
1055
clean-local:
1062
1056
        for i in `find $(builddir) -name "*.pyc"`; do \