aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-02-05 16:43:35 +0100
committerGitHub <noreply@github.com>2018-02-05 16:43:35 +0100
commit9ae0e5e8a515d4e225a895809de32ed83fc413da (patch)
tree50026f7d8596173abf5ba323b0d1d091ce87a1f8 /Makefile.am
parent9e412249e5a7c6eaab1e73a11ca09e2bc7ca5df9 (diff)
downloadPROJ-9ae0e5e8a515d4e225a895809de32ed83fc413da.tar.gz
PROJ-9ae0e5e8a515d4e225a895809de32ed83fc413da.zip
Make a README from README.md when running 'make dist' (#772)
Make a README from README.md when running 'make dist'. README.md is stripped from the CI status images that is displayed on GitHub, but other README is just a copy of README.md. Adjusted travis/install.sh so that 'make dist-all' is not run on the source distribution.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7b38aaf9..f4a82f9c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,4 +8,9 @@ pkgconfig_DATA = proj.pc
AUTOMAKE_OPTIONS = dist-zip
ACLOCAL_AMFLAGS = -I m4
+
README: README.md
+ fgrep -v "[![" $< > $@
+
+clean-local:
+ $(RM) README