~ubuntu-branches/ubuntu/utopic/gramps/utopic

« back to all changes in this revision

Viewing changes to src/gui/plug/Makefile.in

  • Committer: Package Import Robot
  • Author(s): James A. Treacy
  • Date: 2012-05-22 17:18:36 UTC
  • mfrom: (39.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120522171836-35fi62lp4w7jnrd7
Tags: 3.4.0-1
* New upstream version
* Updated desktop file. Closes: #667472

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
@SET_MAKE@
17
17
 
18
18
# This is the src/PluginUtils level Makefile for Gramps
 
19
# $Id: Makefile.am 18851 2012-02-10 20:25:15Z josipsf $
19
20
# We could use GNU make's ':=' syntax for nice wildcard use,
20
21
# but that is not necessarily portable.
21
22
# If not using GNU make, then list all .py files individually
22
23
VPATH = @srcdir@
 
24
pkgdatadir = $(datadir)/@PACKAGE@
23
25
pkgincludedir = $(includedir)/@PACKAGE@
24
26
pkglibdir = $(libdir)/@PACKAGE@
25
27
pkglibexecdir = $(libexecdir)/@PACKAGE@
36
38
PRE_UNINSTALL = :
37
39
POST_UNINSTALL = :
38
40
subdir = src/gui/plug
39
 
DIST_COMMON = $(pkgdata_PYTHON) $(srcdir)/Makefile.am \
 
41
DIST_COMMON = $(pkgpython_PYTHON) $(srcdir)/Makefile.am \
40
42
        $(srcdir)/Makefile.in
41
43
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
44
am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
76
78
am__base_list = \
77
79
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
78
80
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
79
 
am__installdirs = "$(DESTDIR)$(pkgdatadir)"
 
81
am__installdirs = "$(DESTDIR)$(pkgpythondir)"
80
82
py_compile = $(top_srcdir)/py-compile
81
83
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
82
84
  distclean-recursive maintainer-clean-recursive
112
114
    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
113
115
  done; \
114
116
  reldir="$$dir2"
115
 
pkgdatadir = $(datadir)/@PACKAGE@/gui/plug
116
117
ACLOCAL = @ACLOCAL@
117
118
ALL_LINGUAS = @ALL_LINGUAS@
118
119
AMTAR = @AMTAR@
221
222
oldincludedir = @oldincludedir@
222
223
pdfdir = @pdfdir@
223
224
pkgpyexecdir = @pkgpyexecdir@/gui/plug
224
 
pkgpythondir = @pkgpythondir@/gui/plug
 
225
pkgpythondir = $(datadir)/@PACKAGE@/gui/plug
225
226
prefix = @prefix@
226
227
program_transform_name = @program_transform_name@
227
228
psdir = @psdir@
236
237
top_builddir = @top_builddir@
237
238
top_srcdir = @top_srcdir@
238
239
SUBDIRS = report
239
 
pkgdata_PYTHON = \
 
240
pkgpython_PYTHON = \
240
241
        __init__.py\
241
242
        _guioptions.py\
242
243
        _windows.py\
280
281
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
281
282
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
282
283
$(am__aclocal_m4_deps):
283
 
install-pkgdataPYTHON: $(pkgdata_PYTHON)
 
284
install-pkgpythonPYTHON: $(pkgpython_PYTHON)
284
285
        @$(NORMAL_INSTALL)
285
 
        test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
286
 
        @list='$(pkgdata_PYTHON)'; dlist=; list2=; test -n "$(pkgdatadir)" || list=; \
 
286
        test -z "$(pkgpythondir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpythondir)"
 
287
        @list='$(pkgpython_PYTHON)'; dlist=; list2=; test -n "$(pkgpythondir)" || list=; \
287
288
        for p in $$list; do \
288
289
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
289
290
          if test -f $$b$$p; then \
294
295
        done; \
295
296
        for file in $$list2; do echo $$file; done | $(am__base_list) | \
296
297
        while read files; do \
297
 
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
298
 
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
 
298
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \
 
299
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \
299
300
        done || exit $$?; \
300
301
        if test -n "$$dlist"; then \
301
302
          if test -z "$(DESTDIR)"; then \
302
 
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgdatadir)" $$dlist; \
 
303
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgpythondir)" $$dlist; \
303
304
          else \
304
 
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \
 
305
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgpythondir)" $$dlist; \
305
306
          fi; \
306
307
        else :; fi
307
308
 
308
 
uninstall-pkgdataPYTHON:
 
309
uninstall-pkgpythonPYTHON:
309
310
        @$(NORMAL_UNINSTALL)
310
 
        @list='$(pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \
 
311
        @list='$(pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \
311
312
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
312
313
        test -n "$$files" || exit 0; \
313
314
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
314
315
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
315
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
316
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files || exit $$?; \
317
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$filesc ")"; \
318
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$filesc || exit $$?; \
319
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$fileso ")"; \
320
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$fileso
 
316
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$files ")"; \
 
317
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$files || exit $$?; \
 
318
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$filesc ")"; \
 
319
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$filesc || exit $$?; \
 
320
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$fileso ")"; \
 
321
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$fileso
321
322
 
322
323
# This directory's subdirectories are mostly independent; you can cd
323
324
# into them and run `make' without going through this Makefile.
517
518
all-am: Makefile
518
519
installdirs: installdirs-recursive
519
520
installdirs-am:
520
 
        for dir in "$(DESTDIR)$(pkgdatadir)"; do \
 
521
        for dir in "$(DESTDIR)$(pkgpythondir)"; do \
521
522
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
522
523
        done
523
524
install: install-recursive
566
567
 
567
568
info-am:
568
569
 
569
 
install-data-am: install-pkgdataPYTHON
 
570
install-data-am: install-pkgpythonPYTHON
570
571
 
571
572
install-dvi: install-dvi-recursive
572
573
 
610
611
 
611
612
ps-am:
612
613
 
613
 
uninstall-am: uninstall-pkgdataPYTHON
 
614
uninstall-am: uninstall-pkgpythonPYTHON
614
615
 
615
616
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
616
617
        install-am install-strip tags-recursive
622
623
        install-am install-data install-data-am install-dvi \
623
624
        install-dvi-am install-exec install-exec-am install-html \
624
625
        install-html-am install-info install-info-am install-man \
625
 
        install-pdf install-pdf-am install-pkgdataPYTHON install-ps \
 
626
        install-pdf install-pdf-am install-pkgpythonPYTHON install-ps \
626
627
        install-ps-am install-strip installcheck installcheck-am \
627
628
        installdirs installdirs-am maintainer-clean \
628
629
        maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
629
630
        pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
630
 
        uninstall-pkgdataPYTHON
 
631
        uninstall-pkgpythonPYTHON
631
632
 
632
633
 
633
634
pycheck: 
634
635
        (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
635
 
        pychecker $(pkgdata_PYTHON));
 
636
        pychecker $(pkgpython_PYTHON));
636
637
 
637
638
# Tell versions [3.59,3.63) of GNU make to not export all variables.
638
639
# Otherwise a system limit (for SysV at least) may be exceeded.