SHELL = /bin/sh PACKAGE = @PACKAGE@ VERSION = @VERSION@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ mandir = @mandir@ srcdir = @srcdir@ docdir = @docdir@ top_srcdir = @top_srcdir@ top_builddir = .. INSTALL = @INSTALL@ VPATH = @srcdir@ @SET_MAKE@ subdir = contrib SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \ sample.muttrc sample.mailcap sample.muttrc-tlr \ colors.default colors.linux smime.rc \ ca-bundle.crt smime_keys_test.pl grml-muttng update-config.pl DISTFILES = Makefile.in language.txt language50.txt \ patch.slang-1.2.2.keypad.1 \ $(SAMPLES) ICONV_DISTFILES = README make.sh all clean: distclean: -rm -f Makefile check: install: $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv for f in $(SAMPLES) ; do \ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \ done chmod 755 $(DESTDIR)$(docdir)/samples/update-config.pl for f in $(srcdir)/iconv/*.rc ; do \ $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \ done # Nothing needs to be done - uninstall in doc removes samples as well. # This is just so make uninstall doesn't fail. uninstall: for f in $(SAMPLES) ; do \ rm -f $(DESTDIR)$(docdir)/samples/$$f ; \ done -rm -rf $(DESTDIR)$(docdir)/samples/iconv -rmdir $(DESTDIR)$(docdir)/samples -rmdir $(DESTDIR)$(docdir) maintainer-clean: distclean Makefile: ../config.status Makefile.in cd .. \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: Makefile $(DISTFILES) for file in $(DISTFILES) ; do \ ln $(srcdir)/$$file $(distdir) 2> /dev/null \ || cp -p $(srcdir)/$$file $(distdir); \ done mkdir -p $(distdir)/iconv for file in $(ICONV_DISTFILES) ; do \ ln $(srcdir)/iconv/$$file $(distdir)/iconv 2> /dev/null \ || cp -p $(srcdir)/iconv/$$file $(distdir)/iconv; \ done for file in $(srcdir)/iconv/*.rc ; do \ ln $$file $(distdir)/iconv 2> /dev/null \ || cp -p $$file $(distdir)/iconv ; \ done