9e7eee7767e8fbf3f54a35ec107361756fc7e1df
[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 grml-muttng update-config.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         chmod 755 $(DESTDIR)$(docdir)/samples/update-config.pl
47         for f in $(srcdir)/iconv/*.rc ; do                                      \
48                 $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv   ;     \
49         done
50
51 # Nothing needs to be done - uninstall in doc removes samples as well.
52 # This is just so make uninstall doesn't fail.
53 uninstall:
54
55 maintainer-clean: distclean
56
57 Makefile: ../config.status Makefile.in
58         cd .. \
59           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
60
61 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
62 dist distdir: Makefile $(DISTFILES)
63         for file in $(DISTFILES) ; do                           \
64                 ln $(srcdir)/$$file $(distdir) 2> /dev/null     \
65                         || cp -p $(srcdir)/$$file $(distdir);   \
66         done
67         mkdir -p $(distdir)/iconv
68         for file in $(ICONV_DISTFILES) ; do                                     \
69                 ln $(srcdir)/iconv/$$file $(distdir)/iconv 2> /dev/null         \
70                         || cp -p $(srcdir)/iconv/$$file $(distdir)/iconv;       \
71         done
72         for file in $(srcdir)/iconv/*.rc ; do                                   \
73                 ln $$file $(distdir)/iconv 2> /dev/null                         \
74                         || cp -p $$file $(distdir)/iconv ;                      \
75         done