# This is the src/docgen level Makefile for Gramps # Use GNU make's ':=' syntax for nice wildcard use. # If not using GNU make, then list all .py files individually docgendir=$(prefix)/share/gramps/docgen docgen_PYTHON = \ __init__.py\ AsciiDoc.py\ CairoDoc.py\ CSVTab.py\ HtmlDoc.py\ LaTeXDoc.py\ ODFDoc.py\ ODSDoc.py\ ODSTab.py\ SpreadSheetDoc.py\ TabbedDoc.py\ PdfDoc.py\ PSDrawDoc.py\ RTFDoc.py\ SvgDrawDoc.py\ TextBufDoc.py \ GtkPrint.py docgen_DATA = \ gtkprintpreview.glade dist_docgen_DATA = $(docgen_DATA) # Clean up all the byte-compiled files MOSTLYCLEANFILES = *pyc *pyo GRAMPS_PY_MODPATH = "../" pycheck: (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ pychecker $(docgen_PYTHON));