autotools: fix make dist command

Now, `make dist` can be used for generating tarballs. It simplifies
making proper release tarballs. Also, it includes some files, that
are removed in RELEASE_GUIDE.md:
 - apidocs/
 - CHANGELOG
 - theme_template
It is a good idea to include such a kind of documentation.

Update RELEASE_GUIDE.md.
This commit is contained in:
Dmitry Podgorny
2019-03-04 18:26:28 +02:00
parent d0a1cae8e8
commit 0f0659aa09
2 changed files with 34 additions and 40 deletions

View File

@@ -185,7 +185,7 @@ themes_sources = $(top_srcdir)/themes/*
icons_sources = $(top_srcdir)/icons/*
script_sources = bootstrap.sh configure-debug
script_sources = bootstrap.sh
man_sources = docs/profanity.1
@@ -250,7 +250,20 @@ tests_unittests_unittests_LDADD = -lcmocka
man_MANS = $(man_sources)
EXTRA_DIST = $(man_sources) $(icons_sources) $(themes_sources) $(script_sources) profrc.example LICENSE.txt README.md CHANGELOG
EXTRA_DIST = $(man_sources) $(icons_sources) $(themes_sources) $(script_sources) profrc.example theme_template LICENSE.txt README.md CHANGELOG
# Ship API documentation with `make dist`
EXTRA_DIST += \
apidocs/c/c-prof.conf \
apidocs/c/gen.sh \
apidocs/c/profapi.h \
apidocs/c/profhooks.h \
apidocs/python/conf.py \
apidocs/python/gen.sh \
apidocs/python/index.rst \
apidocs/python/Makefile \
apidocs/python/src/plugin.py \
apidocs/python/src/prof.py
if INCLUDE_GIT_VERSION
EXTRA_DIST += .git/HEAD .git/index