X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/63d48395d38ab5639f9820ad205e8bc24cb1ca42..eb4ac9136e4059fa45f5d862edc0d7a76005d7f5:/Makefile.am diff --git a/Makefile.am b/Makefile.am index c397447..4ae0bdb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -76,9 +76,15 @@ EXTRA_DIST += mdw-setup ### Files to install. ## Licences. -dist_pkgdata_DATA += COPYING COPYING.LIB +dist_pkgdata_DATA += GPL-1 GPL-2 GPL-3 +dist_pkgdata_DATA += LGPL-2 LGPL-2.1 LGPL-3 +dist_pkgdata_DATA += AGPL-3 dist_pkgdata_DATA += gpl.tex lgpl.tex gpl.texi lgpl.texi +install-data-hook:: + cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f GPL-2 COPYING + cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f LGPL-2 COPYING.LIB + ## Documentation. dist_pkgdata_DATA += INSTALL dist_pkgdata_DATA += texinice.tex @@ -147,6 +153,10 @@ DISTCHECK_CONFIGURE_FLAGS = \ dist-hook:: echo $(VERSION) >$(distdir)/RELEASE +## Ensure that the `COPYING' file is prominent. +dist-hook:: + cd $(distdir) && $(LN_S) GPL-2 COPYING + ###-------------------------------------------------------------------------- ### Debian.