18
18
# This is the src/plugins/drawreport 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/drawreport
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/drawreport
76
77
ACLOCAL = @ACLOCAL@
77
78
ALL_LINGUAS = @ALL_LINGUAS@
181
182
oldincludedir = @oldincludedir@
182
183
pdfdir = @pdfdir@
183
184
pkgpyexecdir = @pkgpyexecdir@/plugins/drawreport
184
pkgpythondir = @pkgpythondir@/plugins/drawreport
185
pkgpythondir = $(datadir)/@PACKAGE@/plugins/drawreport
185
186
prefix = @prefix@
186
187
program_transform_name = @program_transform_name@
241
242
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
242
243
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
243
244
$(am__aclocal_m4_deps):
244
install-pkgdataPYTHON: $(pkgdata_PYTHON)
245
install-pkgpythonPYTHON: $(pkgpython_PYTHON)
245
246
@$(NORMAL_INSTALL)
246
test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
247
@list='$(pkgdata_PYTHON)'; dlist=; list2=; test -n "$(pkgdatadir)" || list=; \
247
test -z "$(pkgpythondir)" || $(MKDIR_P) "$(DESTDIR)$(pkgpythondir)"
248
@list='$(pkgpython_PYTHON)'; dlist=; list2=; test -n "$(pkgpythondir)" || list=; \
248
249
for p in $$list; do \
249
250
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
250
251
if test -f $$b$$p; then \
256
257
for file in $$list2; do echo $$file; done | $(am__base_list) | \
257
258
while read files; do \
258
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
259
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
259
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \
260
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \
260
261
done || exit $$?; \
261
262
if test -n "$$dlist"; then \
262
263
if test -z "$(DESTDIR)"; then \
263
PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgdatadir)" $$dlist; \
264
PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgpythondir)" $$dlist; \
265
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \
266
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgpythondir)" $$dlist; \
269
uninstall-pkgdataPYTHON:
270
uninstall-pkgpythonPYTHON:
270
271
@$(NORMAL_UNINSTALL)
271
@list='$(pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \
272
@list='$(pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \
272
273
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
273
274
test -n "$$files" || exit 0; \
274
275
filesc=`echo "$$files" | sed 's|$$|c|'`; \
275
276
fileso=`echo "$$files" | sed 's|$$|o|'`; \
276
echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
277
cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files || exit $$?; \
278
echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$filesc ")"; \
279
cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$filesc || exit $$?; \
280
echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$fileso ")"; \
281
cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$fileso
277
echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$files ")"; \
278
cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$files || exit $$?; \
279
echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$filesc ")"; \
280
cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$filesc || exit $$?; \
281
echo " ( cd '$(DESTDIR)$(pkgpythondir)' && rm -f" $$fileso ")"; \
282
cd "$(DESTDIR)$(pkgpythondir)" && rm -f $$fileso
422
423
install install-am install-data install-data-am install-dvi \
423
424
install-dvi-am install-exec install-exec-am install-html \
424
425
install-html-am install-info install-info-am install-man \
425
install-pdf install-pdf-am install-pkgdataPYTHON install-ps \
426
install-pdf install-pdf-am install-pkgpythonPYTHON install-ps \
426
427
install-ps-am install-strip installcheck installcheck-am \
427
428
installdirs maintainer-clean maintainer-clean-generic \
428
429
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
429
uninstall-am uninstall-pkgdataPYTHON
430
uninstall-am uninstall-pkgpythonPYTHON
433
434
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
434
pychecker $(pkgdata_PYTHON));
435
pychecker $(pkgpython_PYTHON));
436
437
# Tell versions [3.59,3.63) of GNU make to not export all variables.
437
438
# Otherwise a system limit (for SysV at least) may be exceeded.