File: 02-libdir

package info (click to toggle)
nmh 1.8-3
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 7,860 kB
  • sloc: ansic: 50,445; sh: 22,697; makefile: 1,138; lex: 740; perl: 509; yacc: 265
file content (35 lines) | stat: -rw-r--r-- 1,239 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Description: change installation directory <libexecdir>/nmh to <libexecdir>, so that we can continue to use the well-known /usr/lib/mh dir for ancillary programs
Author: Alexander Zangerl

--- a/Makefile.am
+++ b/Makefile.am
@@ -299,7 +299,7 @@ bin_SCRIPTS = \
     #
 
 ##
-## This is all programs that get installed in the "libexec/nmh" directory
+## This is all programs that get installed in the "libexec" directory
 ##
 nmhlibexec_PROGRAMS = \
     uip/ap \
--- a/uip/spost.in
+++ b/uip/spost.in
@@ -10,4 +10,4 @@
 
 prefix='@prefix@'
 exec_prefix="@exec_prefix@"
-exec "@libexecdir@/nmh/post" -mts sendmail/pipe "$@"
+exec "@libexecdir@/post" -mts sendmail/pipe "$@"
--- a/configure.ac
+++ b/configure.ac
@@ -565,8 +565,8 @@ dnl these choices by supplying these var
 dnl ------------------
 
 AC_ARG_VAR([nmhlibexecdir], [The installation directory for backend programs
-used by nmh.  Defaults to $(libexecdir)/nmh.])
-AS_IF([test -z ${nmhlibexecdir+x}], [nmhlibexecdir='${libexecdir}/nmh'])
+used by nmh.  Defaults to $(libexecdir).])
+AS_IF([test -z ${nmhlibexecdir+x}], [nmhlibexecdir='${libexecdir}'])
 
 AC_ARG_VAR([nmhetcdir], [The installation directory for configuration files
 used by nmh.  Defaults to $(sysconfdir)/nmh.])