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

« back to all changes in this revision

Viewing changes to src/plugins/import/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/import level Makefile for Gramps
 
19
# $Id: Makefile.am 19020 2012-03-06 16:19:47Z romjerome $
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
37
38
PRE_UNINSTALL = :
38
39
POST_UNINSTALL = :
39
40
subdir = src/plugins/import
40
 
DIST_COMMON = $(dist_pkgdata_DATA) $(pkgdata_PYTHON) \
 
41
DIST_COMMON = $(dist_pkgdata_DATA) $(pkgpython_PYTHON) \
41
42
        $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42
43
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43
44
am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
70
71
am__base_list = \
71
72
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
72
73
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
73
 
am__installdirs = "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pkgdatadir)"
 
74
am__installdirs = "$(DESTDIR)$(pkgpythondir)" \
 
75
        "$(DESTDIR)$(pkgdatadir)"
74
76
py_compile = $(top_srcdir)/py-compile
75
77
DATA = $(dist_pkgdata_DATA)
76
78
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
183
185
oldincludedir = @oldincludedir@
184
186
pdfdir = @pdfdir@
185
187
pkgpyexecdir = @pkgpyexecdir@/plugins/import
186
 
pkgpythondir = @pkgpythondir@/plugins/import
 
188
pkgpythondir = $(datadir)/@PACKAGE@/plugins/import
187
189
prefix = @prefix@
188
190
program_transform_name = @program_transform_name@
189
191
psdir = @psdir@
197
199
top_build_prefix = @top_build_prefix@
198
200
top_builddir = @top_builddir@
199
201
top_srcdir = @top_srcdir@
200
 
pkgdata_PYTHON = \
 
202
pkgpython_PYTHON = \
201
203
        import.gpr.py \
202
204
        ImportCsv.py \
203
205
        ImportGedcom.py \
208
210
        ImportVCard.py \
209
211
        ImportXml.py
210
212
 
211
 
GLADEFILES = \
212
 
        importgedcom.glade
213
 
 
214
 
GRAPHICS = 
215
 
DATAFILES = 
216
 
dist_pkgdata_DATA = $(GLADEFILES) $(GRAPHICS) $(DATAFILES)
 
213
dist_pkgdata_DATA = importgedcom.glade
217
214
 
218
215
# Clean up all the byte-compiled files
219
216
MOSTLYCLEANFILES = *pyc *pyo
251
248
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
252
249
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
253
250
$(am__aclocal_m4_deps):
254
 
install-pkgdataPYTHON: $(pkgdata_PYTHON)
 
251
install-pkgpythonPYTHON: $(pkgpython_PYTHON)
255
252
        @$(NORMAL_INSTALL)
256
 
        test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
257
 
        @list='$(pkgdata_PYTHON)'; dlist=; list2=; test -n "$(pkgdatadir)" || list=; \
 
253
        test -z "$(pkgpythondir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpythondir)"
 
254
        @list='$(pkgpython_PYTHON)'; dlist=; list2=; test -n "$(pkgpythondir)" || list=; \
258
255
        for p in $$list; do \
259
256
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
260
257
          if test -f $$b$$p; then \
265
262
        done; \
266
263
        for file in $$list2; do echo $$file; done | $(am__base_list) | \
267
264
        while read files; do \
268
 
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
269
 
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
 
265
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \
 
266
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \
270
267
        done || exit $$?; \
271
268
        if test -n "$$dlist"; then \
272
269
          if test -z "$(DESTDIR)"; then \
273
 
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgdatadir)" $$dlist; \
 
270
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgpythondir)" $$dlist; \
274
271
          else \
275
 
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \
 
272
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgpythondir)" $$dlist; \
276
273
          fi; \
277
274
        else :; fi
278
275
 
279
 
uninstall-pkgdataPYTHON:
 
276
uninstall-pkgpythonPYTHON:
280
277
        @$(NORMAL_UNINSTALL)
281
 
        @list='$(pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \
 
278
        @list='$(pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \
282
279
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
283
280
        test -n "$$files" || exit 0; \
284
281
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
285
282
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
286
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
287
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files || exit $$?; \
288
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$filesc ")"; \
289
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$filesc || exit $$?; \
290
 
        echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$fileso ")"; \
291
 
        cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$fileso
 
283
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$files ")"; \
 
284
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$files || exit $$?; \
 
285
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$filesc ")"; \
 
286
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$filesc || exit $$?; \
 
287
        echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$fileso ")"; \
 
288
        cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$fileso
292
289
install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
293
290
        @$(NORMAL_INSTALL)
294
291
        test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
350
347
check: check-am
351
348
all-am: Makefile $(DATA)
352
349
installdirs:
353
 
        for dir in "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pkgdatadir)"; do \
 
350
        for dir in "$(DESTDIR)$(pkgpythondir)" "$(DESTDIR)$(pkgdatadir)"; do \
354
351
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
355
352
        done
356
353
install: install-am
399
396
 
400
397
info-am:
401
398
 
402
 
install-data-am: install-dist_pkgdataDATA install-pkgdataPYTHON
 
399
install-data-am: install-dist_pkgdataDATA install-pkgpythonPYTHON
403
400
 
404
401
install-dvi: install-dvi-am
405
402
 
443
440
 
444
441
ps-am:
445
442
 
446
 
uninstall-am: uninstall-dist_pkgdataDATA uninstall-pkgdataPYTHON
 
443
uninstall-am: uninstall-dist_pkgdataDATA uninstall-pkgpythonPYTHON
447
444
 
448
445
.MAKE: install-am install-strip
449
446
 
453
450
        install-dist_pkgdataDATA install-dvi install-dvi-am \
454
451
        install-exec install-exec-am install-html install-html-am \
455
452
        install-info install-info-am install-man install-pdf \
456
 
        install-pdf-am install-pkgdataPYTHON install-ps install-ps-am \
457
 
        install-strip installcheck installcheck-am installdirs \
458
 
        maintainer-clean maintainer-clean-generic mostlyclean \
459
 
        mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
460
 
        uninstall-dist_pkgdataDATA uninstall-pkgdataPYTHON
 
453
        install-pdf-am install-pkgpythonPYTHON install-ps \
 
454
        install-ps-am install-strip installcheck installcheck-am \
 
455
        installdirs maintainer-clean maintainer-clean-generic \
 
456
        mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
 
457
        uninstall-am uninstall-dist_pkgdataDATA \
 
458
        uninstall-pkgpythonPYTHON
461
459
 
462
460
 
463
461
pycheck: 
464
462
        (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
465
 
        pychecker $(pkgdata_PYTHON));
 
463
        pychecker $(pkgpython_PYTHON));
466
464
 
467
465
# Tell versions [3.59,3.63) of GNU make to not export all variables.
468
466
# Otherwise a system limit (for SysV at least) may be exceeded.