From e4c5d3b34941bdc433072a492a0a7fdbddba0cc2 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 25 May 2018 16:16:23 +0200 Subject: [PATCH] build: Simplify README inclusion Use symlink in the repository, instead of copying. --- .gitignore | 1 - Makefile.am | 7 +------ README | 1 + 3 files changed, 2 insertions(+), 7 deletions(-) create mode 120000 README diff --git a/.gitignore b/.gitignore index 06bd3cb32..9252dc010 100644 --- a/.gitignore +++ b/.gitignore @@ -42,7 +42,6 @@ depcomp makefile install-sh INSTALL -README libtool ltmain.sh makefile diff --git a/Makefile.am b/Makefile.am index 2a3a5b73a..5b4568f24 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ BUILT_SOURCES = CLEANFILES = -EXTRA_DIST = HACKING README +EXTRA_DIST = HACKING incdir = $(includedir)/p11-kit-1/p11-kit inc_HEADERS = @@ -82,11 +82,6 @@ hellcheck: all make $(AM_MAKEFLAGS) TESTS_ENVIRONMENT="$(HELLCHECK_ENV)" check-TESTS dist-hook: - @if test -d "$(srcdir)/.git"; \ - then \ - echo Creating README && \ - cp README.md README; \ - fi @if test -d "$(srcdir)/.git"; \ then \ echo Creating ChangeLog && \ diff --git a/README b/README new file mode 120000 index 000000000..42061c01a --- /dev/null +++ b/README @@ -0,0 +1 @@ +README.md \ No newline at end of file