18
18
# This is the src/Filters/Rules/Source level Makefile for Gramps
19
# $Id: Makefile.am 18851 2012-02-10 20:25:15Z josipsf $
21
pkgdatadir = $(datadir)/@PACKAGE@
20
22
pkgincludedir = $(includedir)/@PACKAGE@
21
23
pkglibdir = $(libdir)/@PACKAGE@
22
24
pkglibexecdir = $(libexecdir)/@PACKAGE@
35
37
subdir = src/Filters/Rules/Source
36
DIST_COMMON = $(pkgdata_PYTHON) $(srcdir)/Makefile.am \
38
DIST_COMMON = $(pkgpython_PYTHON) $(srcdir)/Makefile.am \
37
39
$(srcdir)/Makefile.in
38
40
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39
41
am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
67
69
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
68
70
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
69
am__installdirs = "$(DESTDIR)$(pkgdatadir)"
71
am__installdirs = "$(DESTDIR)$(pkgpythondir)"
70
72
py_compile = $(top_srcdir)/py-compile
71
73
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
72
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Source
73
74
ACLOCAL = @ACLOCAL@
74
75
ALL_LINGUAS = @ALL_LINGUAS@
178
179
oldincludedir = @oldincludedir@
179
180
pdfdir = @pdfdir@
180
181
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Source
181
pkgpythondir = @pkgpythondir@/Filters/Rules/Source
182
pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Source
182
183
prefix = @prefix@
183
184
program_transform_name = @program_transform_name@
248
248
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
249
249
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
250
250
$(am__aclocal_m4_deps):
251
install-pkgdataPYTHON: $(pkgdata_PYTHON)
251
install-pkgpythonPYTHON: $(pkgpython_PYTHON)
252
252
@$(NORMAL_INSTALL)
253
test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
254
@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=; \
255
255
for p in $$list; do \
256
256
if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
257
257
if test -f $$b$$p; then \
263
263
for file in $$list2; do echo $$file; done | $(am__base_list) | \
264
264
while read files; do \
265
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
266
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
265
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \
266
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \
267
267
done || exit $$?; \
268
268
if test -n "$$dlist"; then \
269
269
if test -z "$(DESTDIR)"; then \
270
PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgdatadir)" $$dlist; \
270
PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgpythondir)" $$dlist; \
272
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \
272
PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgpythondir)" $$dlist; \
276
uninstall-pkgdataPYTHON:
276
uninstall-pkgpythonPYTHON:
277
277
@$(NORMAL_UNINSTALL)
278
@list='$(pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \
278
@list='$(pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \
279
279
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
280
280
test -n "$$files" || exit 0; \
281
281
filesc=`echo "$$files" | sed 's|$$|c|'`; \
282
282
fileso=`echo "$$files" | sed 's|$$|o|'`; \
283
echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
284
cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files || exit $$?; \
285
echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$filesc ")"; \
286
cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$filesc || exit $$?; \
287
echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$fileso ")"; \
288
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
429
429
install install-am install-data install-data-am install-dvi \
430
430
install-dvi-am install-exec install-exec-am install-html \
431
431
install-html-am install-info install-info-am install-man \
432
install-pdf install-pdf-am install-pkgdataPYTHON install-ps \
432
install-pdf install-pdf-am install-pkgpythonPYTHON install-ps \
433
433
install-ps-am install-strip installcheck installcheck-am \
434
434
installdirs maintainer-clean maintainer-clean-generic \
435
435
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
436
uninstall-am uninstall-pkgdataPYTHON
436
uninstall-am uninstall-pkgpythonPYTHON
440
440
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
441
pychecker $(pkgdata_PYTHON));
441
pychecker $(pkgpython_PYTHON));
443
443
# Tell versions [3.59,3.63) of GNU make to not export all variables.
444
444
# Otherwise a system limit (for SysV at least) may be exceeded.