aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/Makefile.am
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-06-06 12:08:59 +0000
committerJustus Winter <[email protected]>2016-06-16 12:07:41 +0000
commit5492853d7b84b4e1d0b11b234e32252ba8d1608d (patch)
tree0f66aaf9cf91e9ca97329a7160db8b1beeb54be2 /lang/python/Makefile.am
parentpython: Get version information from the build system. (diff)
downloadgpgme-5492853d7b84b4e1d0b11b234e32252ba8d1608d.tar.gz
gpgme-5492853d7b84b4e1d0b11b234e32252ba8d1608d.zip
python: Improve the documentation.
* lang/python/Makefile.am: Copy the README file. * lang/python/README: Rename, convert to org, and update. * lang/python/pyme/__init__.py: Move license out of the docstring, update docstring. * lang/python/pyme/core.py: Add and update docstrings. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/Makefile.am')
-rw-r--r--lang/python/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 2c84f2b5..18005bf9 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -16,16 +16,21 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
-EXTRA_DIST = README.rst
+EXTRA_DIST = README
SUBDIRS = tests
+COPY_FILES = \
+ $(srcdir)/README \
+ $(srcdir)/pyme \
+ $(srcdir)/helpers.c $(srcdir)/helpers.h
+
# Cleanup gpgme.h from deprecated functions and typedefs.
gpgme.h: ../../src/gpgme.h $(srcdir)/gpgme-h-clean.py
$(PYTHON) $(srcdir)/gpgme-h-clean.py $< >$@
# For VPATH builds we need to copy some files because Python's
# distutils are not VPATH-aware.
-copystamp: $(srcdir)/pyme $(srcdir)/helpers.c $(srcdir)/helpers.h
+copystamp: $(COPY_FILES)
if test "$(srcdir)" != "$(builddir)" ; then cp -r $^ . ; fi
touch $@