1# Makefile.am: help build sources on mulitiple architectures 2# $Id: Makefile.am,v 1.20.2.3.2.8 2007/01/01 13:38:40 baueran Exp $ 3 4# Copyright (c) 2000 - 2016 Andreas Bauer <baueran@gmail.com> 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 2 of the License, or 9# (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program; if not, write to the Free Software 18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 19# USA. 20 21# AUTOMAKE_OPTIONS = dist-shar dist-zip dist-tarZ 22AUTOMAKE_OPTIONS = dist-zip 23 24SUBDIRS = doc man src contrib 25 26EXTRA_DIST = ylwrap 27# EXTRA_DIST = config.rpath mkinstalldirs ABOUT-NLS ylwrap 28 29CLEANFILES = filtermail*.gz filtermail-*.zip filtermail-*Z 30 31ACLOCAL_AMFLAGS = -I 32 33# build a distribution snapshot 34# TODO: 35# add a snap documentation target 36# check to see if there is already a previous snapshot there, 37# and don't overwrite it! 38@MAINT@snapshot: README-snapshot maintainer-clean 39@MAINT@ @a=`date -R` ;\ 40@MAINT@ echo "Last built on $$a" >> README-snapshot 41@MAINT@ @d=`pwd` ;\ 42@MAINT@ d=`basename $$d` ;\ 43@MAINT@ echo $$d ;\ 44@MAINT@ cd .. ;\ 45@MAINT@ tar -cvzf $$d-`date +%m%d%y`.tar.gz $$d ;\ 46@MAINT@ mv $$d-`date +%m%d%y`.tar.gz $$d/ ;\ 47@MAINT@ cd $$d 48 49@MAINT@doxygen: 50@MAINT@ cd $(top_srcdir)/doc ;\ 51@MAINT@ ${MAKE} doxygen 52 53@MAINT@alldist: man doxygen 54@MAINT@ ${MAKE} distcheck 55@MAINT@ ${MAKE} dist-shar 56@MAINT@ ${MAKE} dist-zip 57@MAINT@ ${MAKE} dist-tarZ 58 59@MAINT@cvsclean: maintainer-clean 60@MAINT@ @-rm -f `find . -name Makefile.in` 61@MAINT@ @-rm -f configure aclocal.m4 config.h.in stamp-h.in depcomp ylwrap 62@MAINT@ @-rm -f config.guess config.sub config.cache config.log config.status 63@MAINT@ @-rm -f mkinstalldirs missing install-sh COPYING 64@MAINT@ @-rm -fr @PACKAGE@-@VERSION@* *~ */*~ 65@MAINT@ @-rm -fr $(top_srcdir)/doc/api 66@MAINT@ @-rm -fr $(top_srcdir)/intl 67@MAINT@ @-rm -fr $(top_srcdir)/src/y.* 68@MAINT@ @-rm -fr $(top_srcdir)/src/rcfile.c* 69@MAINT@ @-rm -fr $(top_srcdir)/src/lex.* 70@MAINT@ @-rm -fr $(top_srcdir)/src/rfc822.cc 71@MAINT@ @-rm -fr $(top_srcdir)/src/rfc822scanner.* 72@MAINT@ @-rm -fr $(top_srcdir)/src/rfc822parser.* 73@MAINT@ @-rm -fr $(top_srcdir)/src/rcparser.* 74@MAINT@ @-rm -fr $(top_srcdir)/src/yy.tab.* 75@MAINT@ @-rm -fr $(top_srcdir)/src/lex.* 76@MAINT@ @echo "=================================================" 77@MAINT@ @echo "Don't forget your ChangeLog and NEWS entries ...." 78@MAINT@ @echo "=================================================" 79