From e4c5d3b34941bdc433072a492a0a7fdbddba0cc2 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 25 May 2018 16:16:23 +0200 Subject: 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 06bd3cb..9252dc0 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 2a3a5b7..5b4568f 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 = @@ -84,11 +84,6 @@ hellcheck: all 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 && \ ( cd "$(top_srcdir)" && \ echo '# Generate automatically. Do not edit.'; echo; \ diff --git a/README b/README new file mode 120000 index 0000000..42061c0 --- /dev/null +++ b/README @@ -0,0 +1 @@ +README.md \ No newline at end of file -- cgit v1.1