Add LICENSE symlink to release tarball.

Fixes #1091.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2018-11-27 21:55:42 -08:00
parent ca7edf2fa3
commit 3834a7b469

View File

@ -78,12 +78,16 @@ endif
uninstall-hook:
rm -f $(DESTDIR)$(man1dir)/$(ctng_progname).1.gz
dist-hook: fetch-docs gen-tarball-version
dist-hook: fetch-docs create-symlinks gen-tarball-version
.PHONY: fetch-docs
fetch-docs: maintainer/download-docs.sh
$< $(top_distdir) $(USER_MANUAL_FILES)
.PHONY: create-symlinks
create-symlinks:
ln -s COPYING $(top_distdir)/LICENSE
.PHONY: gen-tarball-version
gen-tarball-version:
echo $(VERSION) > $(distdir)/.tarball-version