]> Pileus Git - ~andy/fetchmail/commitdiff
Fix installation when PYTHON is enabled.
authorMatthias Andree <matthias.andree@gmx.de>
Fri, 17 Aug 2012 16:15:02 +0000 (18:15 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Fri, 17 Aug 2012 16:15:02 +0000 (18:15 +0200)
The Python-related Makefile.am parts were simplified to avoid an
automake 1.11.X bug around noinst_PYTHON, Automake Bug #10995.
http://lists.gnu.org/archive/html/automake-patches/2012-03/txtbYNp7SPawU.txt

Makefile.am
NEWS

index 8c34c75f6bf64a51d4065dd813eb3efb601d9a03..6f247daec90fa12bb11c033fc3093b857003b4a6 100644 (file)
@@ -16,15 +16,9 @@ dist_man1_MANS=              fetchmail.man
 pys=                   fetchmailconf.py
 pym=                   fetchmailconf.man
 
-if HAVE_PYTHON
 nodist_bin_SCRIPTS=    fetchmailconf
 python_PYTHON=         $(pys)
 dist_man1_MANS+=       $(pym)
-EXTRA_DIST=
-else
-noinst_PYTHON=         $(pys)
-EXTRA_DIST=            $(pym)
-endif
 
 CLEANFILES=            $(nodist_bin_SCRIPTS)
 
@@ -155,7 +149,7 @@ DISTDOCS=   FAQ FEATURES NOTES OLDNEWS fetchmail-man.html \
 # extra directories to ship
 distdirs = rh-config contrib beos
 
-EXTRA_DIST+=   $(DISTDOCS) $(distdirs) \
+EXTRA_DIST   $(DISTDOCS) $(distdirs) \
                fetchmail.spec fetchmail.xpm \
                trio/CHANGES trio/README \
                strlcpy.3 bighand.png \
diff --git a/NEWS b/NEWS
index 36014655346af120559bfc313cfa42aa0568a026..626fabb240b6cf5b801802ebc4ef5444390e0477 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -110,6 +110,9 @@ fetchmail-6.3.22 (not yet released):
   under the more relaxed CC BY-ND 3.0 license (the noncommercial clause
   was dropped). The Creative Commons address was updated.
 
+* The Python-related Makefile.am parts were simplified to avoid an automake
+  1.11.X bug around noinst_PYTHON, Automake Bug #10995.
+
 # WORKAROUND
 * Some servers, notably Zimbra, return A1234 987 FETCH () in response to
   a header request, in the face of message corruption.  fetchmail now treats