aboutsummaryrefslogtreecommitdiffstats
path: root/mail/nullmailer/files/patch-src-Makefile.in
blob: 7f68757e61976793238e445ec962a9d461b7a05c (plain) (blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- src/Makefile.in.orig    2007-10-09 19:23:25.000000000 -0400
+++ src/Makefile.in 2009-08-11 17:24:28.000000000 -0400
@@ -30,10 +30,9 @@
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
-bin_PROGRAMS = mailq$(EXEEXT) nullmailer-inject$(EXEEXT) \
-   nullmailer-smtpd$(EXEEXT)
-sbin_PROGRAMS = nullmailer-queue$(EXEEXT) nullmailer-send$(EXEEXT) \
-   sendmail$(EXEEXT)
+bin_PROGRAMS = nullmailer-inject$(EXEEXT) nullmailer-smtpd$(EXEEXT)
+sbin_PROGRAMS = nullmailer-queue$(EXEEXT) nullmailer-send$(EXEEXT)
+libexec_PROGRAMS = mailq$(EXEEXT) sendmail$(EXEEXT)
 subdir = src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -46,7 +46,9 @@
 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)"
 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
-PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
+libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+
+PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS) $(libexec_PROGRAMS)
 am_mailq_OBJECTS = mailq.$(OBJEXT)
 mailq_OBJECTS = $(am_mailq_OBJECTS)
 mailq_DEPENDENCIES = ../lib/libnullmailer.a
@@ -154,7 +156,7 @@
 infodir = @infodir@
 install_sh = @install_sh@
 libdir = @libdir@
-libexecdir = @libexecdir@
+libexecdir = @libexecdir@/nullmailer
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
@@ -253,6 +255,31 @@
      else :; fi; \
    done
 
+mostlyclean-libexecPROGRAMS:
+
+clean-libexecPROGRAMS:
+   -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+
+distclean-libexecPROGRAMS:
+
+maintainer-clean-libexecPROGRAMS:
+
+install-libexecPROGRAMS: $(libexec_PROGRAMS)
+   @$(NORMAL_INSTALL)
+   $(mkinstalldirs) $(DESTDIR)$(libexecdir)
+   @list='$(libexec_PROGRAMS)'; for p in $$list; do \
+    if test -f $$p; then \
+     echo "  $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+     $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+     else :; fi; \
+   done
+
+uninstall-libexecPROGRAMS:
+   @$(NORMAL_UNINSTALL)
+   list='$(libexec_PROGRAMS)'; for p in $$list; do \
+   rm -f $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+   done
+
 uninstall-sbinPROGRAMS:
    @$(NORMAL_UNINSTALL)
    @list='$(sbin_PROGRAMS)'; for p in $$list; do \
@@ -435,7 +462,7 @@
 
 install-dvi: install-dvi-am
 
-install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
+install-exec-am: install-binPROGRAMS install-sbinPROGRAMS install-libexecPROGRAMS
 
 install-html: install-html-am