diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-05-24 16:30:43 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-05-25 15:16:06 +0200 |
commit | 8df105871eb5f6bca3e5f4dcf165f2bbf920f106 (patch) | |
tree | e2124e144b8ba9988486ae80ebac4f30a5ff61d8 | |
parent | 275eed62b5d0e17c092b66af233ffc5b2f45245b (diff) |
build: Include README in the distribution
As we removed README from the repository, it is no longer
automatically picked up for the distribution by Automake.
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 2a5b037..2a3a5b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ BUILT_SOURCES = CLEANFILES = -EXTRA_DIST = HACKING +EXTRA_DIST = HACKING README incdir = $(includedir)/p11-kit-1/p11-kit inc_HEADERS = @@ -82,7 +82,11 @@ hellcheck: all make $(AM_MAKEFLAGS) TESTS_ENVIRONMENT="$(HELLCHECK_ENV)" check-TESTS dist-hook: - cp README.md README + @if test -d "$(srcdir)/.git"; \ + then \ + echo Creating README && \ + cp README.md README; \ + fi @if test -d "$(srcdir)/.git"; \ then \ echo Creating ChangeLog && \ |