Reorganize custom widgets into a new 'widgets' package.
2. Update Makefiles svn: r10695
This commit is contained in:
parent
05b39c5c15
commit
55bc655c30
@ -30,9 +30,7 @@ pkgdata_PYTHON = \
|
||||
_EditSource.py \
|
||||
_EditSourceRef.py \
|
||||
_EditNote.py \
|
||||
_EditUrl.py \
|
||||
_StyledTextBuffer.py \
|
||||
_StyledTextEditor.py
|
||||
_EditUrl.py
|
||||
|
||||
pkgpyexecdir = @pkgpyexecdir@/Editors
|
||||
pkgpythondir = @pkgpythondir@/Editors
|
||||
|
@ -25,7 +25,8 @@ SUBDIRS = \
|
||||
glade \
|
||||
docgen \
|
||||
images \
|
||||
plugins
|
||||
plugins \
|
||||
widgets
|
||||
|
||||
gdirdir=$(prefix)/share/gramps
|
||||
|
||||
@ -54,7 +55,6 @@ gdir_PYTHON = \
|
||||
GrampsDisplay.py\
|
||||
gramps_main.py\
|
||||
gramps.py\
|
||||
GrampsWidgets.py\
|
||||
ImgManip.py\
|
||||
LdsUtils.py \
|
||||
ListModel.py\
|
||||
|
24
src/widgets/Makefile.am
Normal file
24
src/widgets/Makefile.am
Normal file
@ -0,0 +1,24 @@
|
||||
# This is the src/widgets level Makefile for Gramps
|
||||
# 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
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@/widgets
|
||||
|
||||
pkgdata_PYTHON = \
|
||||
__init__.py \
|
||||
grampswidgets.py \
|
||||
styledtextbuffer.py \
|
||||
styledtexteditor.py
|
||||
|
||||
pkgpyexecdir = @pkgpyexecdir@/widgets
|
||||
pkgpythondir = @pkgpythondir@/widgets
|
||||
|
||||
# Clean up all the byte-compiled files
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
||||
GRAMPS_PY_MODPATH = "../"
|
||||
|
||||
pycheck:
|
||||
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
||||
pychecker $(pkgdata_PYTHON));
|
Loading…
Reference in New Issue
Block a user