7 exec_prefix = @exec_prefix@
13 top_srcdir = @top_srcdir@
21 SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
22 sample.muttrc sample.mailcap sample.muttrc-tlr \
23 colors.default colors.linux smime.rc \
24 ca-bundle.crt smime_keys_test.pl grml-muttng update-config.pl
26 DISTFILES = Makefile.in language.txt language50.txt \
27 patch.slang-1.2.2.keypad.1 \
30 ICONV_DISTFILES = README make.sh
40 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
41 for f in $(SAMPLES) ; do \
42 $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \
44 chmod 755 $(DESTDIR)$(docdir)/samples/update-config.pl
45 for f in $(srcdir)/iconv/*.rc ; do \
46 $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \
49 # Nothing needs to be done - uninstall in doc removes samples as well.
50 # This is just so make uninstall doesn't fail.
52 for f in $(SAMPLES) ; do \
53 rm -f $(DESTDIR)$(docdir)/samples/$$f ; \
55 -rm -rf $(DESTDIR)$(docdir)/samples/iconv
56 -rmdir $(DESTDIR)$(docdir)/samples
57 -rmdir $(DESTDIR)$(docdir)
59 maintainer-clean: distclean
61 Makefile: ../config.status Makefile.in
63 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
65 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
66 dist distdir: Makefile $(DISTFILES)
67 for file in $(DISTFILES) ; do \
68 ln $(srcdir)/$$file $(distdir) 2> /dev/null \
69 || cp -p $(srcdir)/$$file $(distdir); \
71 mkdir -p $(distdir)/iconv
72 for file in $(ICONV_DISTFILES) ; do \
73 ln $(srcdir)/iconv/$$file $(distdir)/iconv 2> /dev/null \
74 || cp -p $(srcdir)/iconv/$$file $(distdir)/iconv; \
76 for file in $(srcdir)/iconv/*.rc ; do \
77 ln $$file $(distdir)/iconv 2> /dev/null \
78 || cp -p $$file $(distdir)/iconv ; \