X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/fcc208c558816bbbf9df27f21b007c3f50dcdef5..1759269dbdd93d6ab1d074035bc32c420ae50825:/Makefile.am diff --git a/Makefile.am b/Makefile.am index ee272b3..0e830d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -76,9 +76,18 @@ 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 + +uninstall-hook:: + cd $(DESTDIR)$(pkgdatadir) && rm -f COPYING COPYING.LIB + ## Documentation. dist_pkgdata_DATA += INSTALL dist_pkgdata_DATA += texinice.tex @@ -92,7 +101,8 @@ dist_pkgdata_SCRIPTS += install-ac dist_pkgdata_SCRIPTS += maninst ## Python support stuff. -dist_pkgdata_SCRIPTS += mdwsetup.py +dist_pkgdata_DATA += mdwsetup.py +dist_pkgdata_DATA += pysetup.mk ## confsubst pkgdata_SCRIPTS += confsubst @@ -154,5 +164,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 --------------------------------------------------