Rocco Rutte:
[apps/madmutt.git] / contrib / Makefile.in
1 # $Id: Makefile.in,v 3.3 2003/04/02 08:47:28 roessler Exp $
2
3 SHELL = /bin/sh
4
5 PACKAGE = @PACKAGE@
6 VERSION = @VERSION@
7
8 prefix = @prefix@
9 exec_prefix = @exec_prefix@
10 bindir = @bindir@
11 libdir = @libdir@
12 mandir = @mandir@
13 srcdir = @srcdir@
14 docdir = @docdir@
15 top_srcdir = @top_srcdir@
16 top_builddir = ..
17 INSTALL = @INSTALL@
18 VPATH = @srcdir@
19 @SET_MAKE@
20
21 subdir = contrib
22
23 SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
24         sample.muttrc  sample.mailcap sample.muttrc-tlr \
25         colors.default colors.linux smime.rc \
26         ca-bundle.crt smime_keys_test.pl
27
28 DISTFILES = Makefile.in language.txt language50.txt  \
29         patch.slang-1.2.2.keypad.1      \
30         $(SAMPLES)
31
32 ICONV_DISTFILES = README make.sh
33
34 all clean:
35
36 distclean:
37         -rm -f Makefile
38
39 check:
40
41 install:
42         $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
43         for f in $(SAMPLES) ; do \
44                 $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ;   \
45         done
46         for f in $(srcdir)/iconv/*.rc ; do                                      \
47                 $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv   ;     \
48         done
49
50 # Nothing needs to be done - uninstall in doc removes samples as well.
51 # This is just so make uninstall doesn't fail.
52 uninstall:
53
54 maintainer-clean: distclean
55
56 Makefile: ../config.status Makefile.in
57         cd .. \
58           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
59
60 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
61 dist distdir: Makefile $(DISTFILES)
62         for file in $(DISTFILES) ; do                           \
63                 ln $(srcdir)/$$file $(distdir) 2> /dev/null     \
64                         || cp -p $(srcdir)/$$file $(distdir);   \
65         done
66         mkdir -p $(distdir)/iconv
67         for file in $(ICONV_DISTFILES) ; do                                     \
68                 ln $(srcdir)/iconv/$$file $(distdir)/iconv 2> /dev/null         \
69                         || cp -p $(srcdir)/iconv/$$file $(distdir)/iconv;       \
70         done
71         for file in $(srcdir)/iconv/*.rc ; do                                   \
72                 ln $$file $(distdir)/iconv 2> /dev/null                         \
73                         || cp -p $$file $(distdir)/iconv ;                      \
74         done