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
24
pkgdatadir = $(datadir)/@PACKAGE@
23
25
pkgincludedir = $(includedir)/@PACKAGE@
24
26
pkglibdir = $(libdir)/@PACKAGE@
25
27
pkglibexecdir = $(libexecdir)/@PACKAGE@
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 \
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@
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@
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 \
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; \
282
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \
285
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgpythondir)" $$dlist; \
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
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
450
453
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
451
pychecker $(pkgdata_PYTHON));
454
pychecker $(pkgpython_PYTHON));
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.