X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/eb4ac9136e4059fa45f5d862edc0d7a76005d7f5..282625e1b87743236f1cb8c70c2762edd413c6b0:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 4ae0bdb..5f91699 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,11 +79,25 @@ EXTRA_DIST += mdw-setup 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 +dist_pkgdata_DATA += gpl-2.0.tex gpl-2.0.texi +dist_pkgdata_DATA += lgpl-2.0.tex lgpl-2.0.texi +dist_pkgdata_DATA += lgpl-2.1.tex lgpl-2.1.texi +dist_pkgdata_DATA += gpl-3.0.tex gpl-3.0.texi +dist_pkgdata_DATA += lgpl-3.0.tex lgpl-3.0.texi +dist_pkgdata_DATA += agpl-3.0.tex agpl-3.0.texi install-data-hook:: cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f GPL-2 COPYING cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f LGPL-2 COPYING.LIB + cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f gpl-2.0.tex gpl.tex + cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f lgpl-2.0.tex lgpl.tex + cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f gpl-2.0.texi gpl.texi + cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f lgpl-2.0.texi lgpl.texi + +uninstall-hook:: + cd $(DESTDIR)$(pkgdatadir) && rm -f COPYING COPYING.LIB + cd $(DESTDIR)$(pkgdatadir) && \ + rm -f gpl.tex gpl.texi lgpl.tex lgpl.texi ## Documentation. dist_pkgdata_DATA += INSTALL @@ -140,7 +154,7 @@ uninstall-hook:: ###-------------------------------------------------------------------------- ### Documentation. -info_TEXINFOS = common.texi +info_TEXINFOS = common.texi ###-------------------------------------------------------------------------- ### Other special tweaks. @@ -153,10 +167,6 @@ 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. @@ -165,5 +175,6 @@ EXTRA_DIST += debian/control EXTRA_DIST += debian/copyright EXTRA_DIST += debian/rules EXTRA_DIST += debian/changelog +EXTRA_DIST += debian/source/format ###----- That's all, folks --------------------------------------------------