5 SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
6 sample.muttrc sample.mailcap sample.muttrc-tlr \
7 colors.default colors.linux smime.rc \
8 ca-bundle.crt smime_keys_test.pl mutt_xtitle
10 EXTRA_DIST = language.txt language50.txt \
11 patch.slang-1.2.2.keypad.1 \
17 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
18 for f in $(SAMPLES) ; do \
19 $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \
21 for f in $(srcdir)/iconv/*.rc ; do \
22 $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \
26 for f in $(SAMPLES) ; do \
27 rm -f $(DESTDIR)$(docdir)/samples/$$f ; \
29 -rm -rf $(DESTDIR)$(docdir)/samples/iconv
30 -rmdir $(DESTDIR)$(docdir)/samples
31 -rmdir $(DESTDIR)$(docdir)
33 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
34 dist-hook: Makefile $(DISTFILES)
35 mkdir -p $(distdir)/iconv
36 for file in $(srcdir)/iconv/*.rc ; do \
37 ln $$file $(distdir)/iconv 2> /dev/null \
38 || cp -p $$file $(distdir)/iconv ; \