From 789146757ca0bc630492bf31ae48ede42b7b437a Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 10 Aug 2021 20:10:29 +0200 Subject: [PATCH] Symlink README to README.md when running make dist. Since Markdown is perfectly human readable, just create a symlink from README to README.md when make dist wants it. Also add it to .gitignore. --- .gitignore | 1 + Makefile.am | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index cb9bf5c9..40094c48 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ *-coverage* /ChangeLog /INSTALL +/README /aclocal.m4 /autom4te.cache /compile diff --git a/Makefile.am b/Makefile.am index de8bdf72..6bf5f5e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,9 @@ configure-version: # Triggering the README target means we are building a distribution (make dist). README: configure-version README.md + ln -sf README.md README + +CLEANFILES = README ChangeLog: (cd $(srcdir) && git log) > ChangeLog -- 2.20.1