Makefile.am: We no longer need to make the COPYING link on distribution.
[cfd] / Makefile.am
index 4ae0bdb..a02c86a 100644 (file)
@@ -85,6 +85,9 @@ 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
@@ -153,10 +156,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.