# $Id: Makefile.am,v 1.6 2009/12/23 02:03:10 sbajic Exp $ # # autoconf (GNU Autoconf) 2.59 # ltmain.sh (GNU libtool) 1.5.6 # automake (GNU automake) 1.9.2 includedir=@includedir@/dspam SUBDIRS = . DIST_SUBDIRS = . man_MANS = \ dspam.1 \ dspam_admin.1 \ dspam_clean.1 \ dspam_crc.1 \ dspam_dump.1 \ dspam_logrotate.1 \ dspam_merge.1 \ dspam_stats.1 \ dspam_train.1 \ libdspam.3 EXTRA_DIST = \ dspam.1 \ dspam_admin.1 \ dspam_clean.1 \ dspam_crc.1 \ dspam_dump.1 \ dspam_logrotate.1 \ dspam_merge.1 \ dspam_stats.1 \ dspam_train.1 \ libdspam.3 MAINTAINERCLEANFILES = Makefile.in DEFS = @DEFS@ # Failing of chgrp is expected and normal case when someone do # make install DESTDIR=... # from user other than root (from user not included in the `mail' group # is exactly), and only after this and after checking what was installed # changes ownership. # # Caveat: creating the $(dspam_home) in the install-exec-hook is not the # right way, but for some (unknown to me) reason `installdirs-local' # target have no chances to be executed under automake-1.7.3 (at least). # # Solaris' ln seems to have a problem with -sf and existing symlinks. install-data-hook: rm -f $(DESTDIR)$(mandir)/man3/dspam_addattribute.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_attach.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_clearattributes.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_create.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_destroy.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_detach.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_getsource.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_init.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_process.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_addattribute.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_attach.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_clearattributes.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_create.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_destroy.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_detach.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_getsource.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_init.3 cd $(DESTDIR)$(mandir)/man3/ && ln -s libdspam.3 dspam_process.3 uninstall-hook: rm -f $(DESTDIR)$(mandir)/man3/dspam_addattribute.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_attach.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_clearattributes.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_create.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_destroy.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_detach.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_getsource.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_init.3 rm -f $(DESTDIR)$(mandir)/man3/dspam_process.3 ACLOCAL_AMFLAGS = -I m4