summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-05-25 16:16:23 +0200
committerDaiki Ueno <dueno@redhat.com>2018-05-25 16:16:23 +0200
commite4c5d3b34941bdc433072a492a0a7fdbddba0cc2 (patch)
tree843f7c68a953e1b5a6a9bdf20615f7198000de02
parent65dd5469ad164465583167c63114478587db59fd (diff)
build: Simplify README inclusion
Use symlink in the repository, instead of copying.
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am7
l---------README1
3 files changed, 2 insertions, 7 deletions
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