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

« back to all changes in this revision

Viewing changes to src/plugins/view/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/plugins/quickview 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/plugins/view
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 \
69
71
am__base_list = \
70
72
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
71
73
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
72
 
am__installdirs = "$(DESTDIR)$(pkgdatadir)"
 
74
am__installdirs = "$(DESTDIR)$(pkgpythondir)"
73
75
py_compile = $(top_srcdir)/py-compile
74
76
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75
 
pkgdatadir = $(datadir)/@PACKAGE@/plugins/view
76
77
ACLOCAL = @ACLOCAL@
77
78
ALL_LINGUAS = @ALL_LINGUAS@
78
79
AMTAR = @AMTAR@
181
182
oldincludedir = @oldincludedir@
182
183
pdfdir = @pdfdir@
183
184
pkgpyexecdir = @pkgpyexecdir@/plugins/view
184
 
pkgpythondir = @pkgpythondir@/plugins/view
 
185
pkgpythondir = $(datadir)/@PACKAGE@/plugins/view
185
186
prefix = @prefix@
186
187
program_transform_name = @program_transform_name@
187
188
psdir = @psdir@
195
196
top_build_prefix = @top_build_prefix@
196
197
top_builddir = @top_builddir@
197
198
top_srcdir = @top_srcdir@
198
 
pkgdata_PYTHON = \
 
199
pkgpython_PYTHON = \
 
200
        citationlistview.py \
 
201
        citationtreeview.py \
199
202
        eventview.py \
200
203
        familyview.py \
201
204
        fanchartview.gpr.py \
258
261
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
259
262
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
260
263
$(am__aclocal_m4_deps):
261
 
install-pkgdataPYTHON: $(pkgdata_PYTHON)
 
264
install-pkgpythonPYTHON: $(pkgpython_PYTHON)
262
265
        @$(NORMAL_INSTALL)
263
 
        test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
264
 
        @list='$(pkgdata_PYTHON)'; dlist=; list2=; test -n "$(pkgdatadir)" || list=; \
 
266
        test -z "$(pkgpythondir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpythondir)"
 
267
        @list='$(pkgpython_PYTHON)'; dlist=; list2=; test -n "$(pkgpythondir)" || list=; \
265
268
        for p in $$list; do \
266
269
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
267
270
          if test -f $$b$$p; then \
272
275
        done; \
273
276
        for file in $$list2; do echo $$file; done | $(am__base_list) | \
274
277
        while read files; do \
275
 
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
276
 
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
 
278
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \
 
279
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \
277
280
        done || exit $$?; \
278
281
        if test -n "$$dlist"; then \
279
282
          if test -z "$(DESTDIR)"; then \
280
 
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgdatadir)" $$dlist; \
 
283
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgpythondir)" $$dlist; \
281
284
          else \
282
 
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \
 
285
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgpythondir)" $$dlist; \
283
286
          fi; \
284
287
        else :; fi
285
288
 
286
 
uninstall-pkgdataPYTHON:
 
289
uninstall-pkgpythonPYTHON:
287
290
        @$(NORMAL_UNINSTALL)
288
 
        @list='$(pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \
 
291
        @list='$(pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \
289
292
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
290
293
        test -n "$$files" || exit 0; \
291
294
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
292
295
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
293
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
294
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files || exit $$?; \
295
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$filesc ")"; \
296
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$filesc || exit $$?; \
297
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$fileso ")"; \
298
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$fileso
 
296
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$files ")"; \
 
297
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$files || exit $$?; \
 
298
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$filesc ")"; \
 
299
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$filesc || exit $$?; \
 
300
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$fileso ")"; \
 
301
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$fileso
299
302
tags: TAGS
300
303
TAGS:
301
304
 
337
340
check: check-am
338
341
all-am: Makefile
339
342
installdirs:
340
 
        for dir in "$(DESTDIR)$(pkgdatadir)"; do \
 
343
        for dir in "$(DESTDIR)$(pkgpythondir)"; do \
341
344
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
342
345
        done
343
346
install: install-am
386
389
 
387
390
info-am:
388
391
 
389
 
install-data-am: install-pkgdataPYTHON
 
392
install-data-am: install-pkgpythonPYTHON
390
393
 
391
394
install-dvi: install-dvi-am
392
395
 
430
433
 
431
434
ps-am:
432
435
 
433
 
uninstall-am: uninstall-pkgdataPYTHON
 
436
uninstall-am: uninstall-pkgpythonPYTHON
434
437
 
435
438
.MAKE: install-am install-strip
436
439
 
439
442
        install install-am install-data install-data-am install-dvi \
440
443
        install-dvi-am install-exec install-exec-am install-html \
441
444
        install-html-am install-info install-info-am install-man \
442
 
        install-pdf install-pdf-am install-pkgdataPYTHON install-ps \
 
445
        install-pdf install-pdf-am install-pkgpythonPYTHON install-ps \
443
446
        install-ps-am install-strip installcheck installcheck-am \
444
447
        installdirs maintainer-clean maintainer-clean-generic \
445
448
        mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
446
 
        uninstall-am uninstall-pkgdataPYTHON
 
449
        uninstall-am uninstall-pkgpythonPYTHON
447
450
 
448
451
 
449
452
pycheck: 
450
453
        (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
451
 
        pychecker $(pkgdata_PYTHON));
 
454
        pychecker $(pkgpython_PYTHON));
452
455
 
453
456
# Tell versions [3.59,3.63) of GNU make to not export all variables.
454
457
# Otherwise a system limit (for SysV at least) may be exceeded.