From 7696fa59dd9e7c35388ce741006b14277095de30 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 2 Aug 2005 01:45:12 +0000 Subject: [PATCH] Generate fetchmailconf from Makefile to expand ${prefix} properly. svn path=/trunk/; revision=4223 --- Makefile.am | 3 +++ configure.ac | 3 +-- fetchmailconf.in | 3 --- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 fetchmailconf.in diff --git a/Makefile.am b/Makefile.am index 7d969b3b..2a9998e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -83,6 +83,9 @@ EXTRA_DIST= $(DISTDOCS) fetchmail.spec $(distdirs) ucs/README.svn \ trio/CHANGES trio/README strlcpy.3 \ m4-local/ac-archive-license.txt m4-local/ac_ma_search_package.m4 +fetchmailconf: + ( echo '#! /bin/sh' && echo 'exec @PYTHON@ @pythondir@/fetchmailconf.py "$$@"' ) >$@ || { rm -f $@ ; exit 1; } + FAQ: fetchmail-FAQ.html AWK=$(AWK) $(SHELL) $(srcdir)/dist-tools/html2txt $(srcdir)/fetchmail-FAQ.html >$@ || { rm -f $@ ; exit 1 ; } diff --git a/configure.ac b/configure.ac index 34aeadbb..f15f2fff 100644 --- a/configure.ac +++ b/configure.ac @@ -739,8 +739,7 @@ if test "$needtrio" = 1 ; then fi dnl ----------------------------------------------------------------' -AC_CONFIG_FILES([Makefile m4/Makefile fetchmailconf - po/Makefile.in]) +AC_CONFIG_FILES([Makefile m4/Makefile po/Makefile.in]) AC_OUTPUT dnl Local Variables: diff --git a/fetchmailconf.in b/fetchmailconf.in deleted file mode 100644 index 79aa0922..00000000 --- a/fetchmailconf.in +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -exec @PYTHON@ fetchmailconf.py "$@" -- 2.43.2