Files
gramps/src/plugins/Makefile.in
Donald A. Peterson 9648ccd113 Set proper permission bits upon INSTALLATION
svn: r907
2002-04-09 15:53:33 +00:00

37 lines
786 B
Makefile

include @top_srcdir@/Makefile.comm
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datadir = @datadir@/@PACKAGE@
INSTALL = @INSTALL@
plugins = ${datadir}/plugins
srcdir = @top_srcdir@
pycomp = ${srcdir}/py-compile
# Use GNU make's ':=' syntax for nice wildcard use.
# If not using GNU make, then list all .py files individually
PYSRCS := ${wildcard *.py}
PYOBJS = ${PYSRCS:.py=.pyo}
all: ${PYOBJS}
install:
${INSTALL} -d ${plugins}
${INSTALL} -m 644 *.py *.pyo *.glade ${plugins}
uninstall:
rm ${plugins}/*.py ${plugins}/*.pyo ${plugins}/*.glade
-rmdir ${plugins}
clean:
-rm -f core *.pyo *.pyc *.bak *~
# Add PYTHON suffix rules to make's vocabulary
.SUFFIXES: .py .pyo
# How do we properly compile a python module?
.py.pyo:
${pycomp} $<