53c9c30890
svn: r18851
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# This is the src/DateHandler level Makefile for Gramps
|
|
# $Id$
|
|
# We could use GNU make's ':=' syntax for nice wildcard use,
|
|
# but that is not necessarily portable.
|
|
# If not using GNU make, then list all .py files individually
|
|
|
|
pkgpython_PYTHON = \
|
|
_Date_bg.py\
|
|
_Date_ca.py\
|
|
_Date_cs.py\
|
|
_Date_da.py\
|
|
_Date_de.py\
|
|
_Date_es.py\
|
|
_Date_fi.py\
|
|
_Date_fr.py\
|
|
_Date_hr.py\
|
|
_Date_it.py\
|
|
_Date_lt.py\
|
|
_Date_nb.py\
|
|
_Date_nl.py\
|
|
_Date_pl.py\
|
|
_Date_pt.py\
|
|
_Date_ru.py\
|
|
_Date_sk.py\
|
|
_Date_sl.py\
|
|
_Date_sr.py\
|
|
_Date_sv.py\
|
|
_DateDisplay.py\
|
|
_DateParser.py\
|
|
_DateHandler.py\
|
|
_DateUtils.py\
|
|
__init__.py
|
|
|
|
pkgpyexecdir = @pkgpyexecdir@/DateHandler
|
|
pkgpythondir = $(datadir)/@PACKAGE@/DateHandler
|
|
|
|
# Clean up all the byte-compiled files
|
|
MOSTLYCLEANFILES = *pyc *pyo
|
|
|
|
GRAMPS_PY_MODPATH = ".."
|
|
|
|
docfiles=\
|
|
_DateDisplay.py\
|
|
_DateParser.py\
|
|
_DateHandler.py\
|
|
_DateUtils.py
|
|
|
|
docs:
|
|
export PYTHONPATH='..'; epydoc --graph=umlclasstree -o ../html --url http://gramps-project.org --name GRAMPS --html $(docfiles)
|
|
|
|
pycheck:
|
|
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
|
pychecker $(pkgpython_PYTHON));
|