diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index ee522f2..502c46e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,50 +1,41 @@ -# This file is part of Mailfromd. +# This file is part of Pies. # Copyright (C) 2005, 2006, 2007, 2008, 2009 Sergey Poznyakoff # -# Mailfromd is free software; you can redistribute it and/or modify +# Pies is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # -# Mailfromd is distributed in the hope that it will be useful, +# Pies is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with Mailfromd. If not, see <http://www.gnu.org/licenses/>. +# along with Pies. If not, see <http://www.gnu.org/licenses/>. -info_TEXINFOS=mailfromd.texi -mailfromd_TEXINFOS=\ +info_TEXINFOS=pies.texi +pies_TEXINFOS=\ fdl.texi\ - gacopyz.texi\ macros.texi\ - mtasim.texi\ pies.texi\ - pmult.texi\ - pragma-database.texi\ - pragma-option.texi\ - rendition.texi\ - smap.texi\ - strftime.texi\ - upgrade.texi\ - values.texi + rendition.texi EXTRA_DIST = \ check-docs.sh\ gendocs_template\ mastermenu.el\ untabify.el clean-local: @rm -rf manual # Checking check-format: - @if test -n "`cat $(info_TEXINFOS) $(mailfromd_TEXINFOS) | tr -d -c '\t'`"; then \ + @if test -n "`cat $(info_TEXINFOS) $(pies_TEXINFOS) | tr -d -c '\t'`"; then \ echo "Sources contain tabs; run make untabify"; \ false; \ fi check-pragmas: @check-docs.sh pragmas \ @@ -62,13 +53,13 @@ check-options: $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) -E - \ $(info_TEXINFOS) check-config: @check-docs.sh 'configuration statements' \ '/mf_cfg_param\[\] *= *{/,/^}/s/[ \t]*{ *"\([^,"]*\)".*/\1/pg' \ - 's/@deffn {Mailfromd Conf} *\([^@,]*\).*/\1/p' \ + 's/@deffn {Pies Conf} *\([^@,]*\).*/\1/p' \ $(top_srcdir)/mfd/main.c -- \ $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) -E - \ $(info_TEXINFOS) check-sub-config: @list=`sed -n '/mf_cfg_param\[\] *= *{/,/^}/{s/[ \t]*{ *"\([^,"]*\)", *mu_cfg_section *,.*/\1/pg}' $(top_srcdir)/mfd/main.c`; \ @@ -98,18 +89,18 @@ check-mflib: $(info_TEXINFOS) check-exceptions: @check-docs.sh exceptions \ '/typedef enum mf_exception_code {/,/^};/s/[ \t]*mfe_\(.*\),.*/e_\1/p;/typedef enum mf_status_code {/,/^};/s/[ \t]*mf_\(.*\),.*/\1/p' \ 's/@cindex \([^,][^,]*\), exception type/\1/p' \ - $(top_srcdir)/mfd/mailfromd.h -- \ + $(top_srcdir)/mfd/pies.h -- \ $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) -E - \ $(info_TEXINFOS) check-refs: - @for file in $(info_TEXINFOS) $(mailfromd_TEXINFOS); \ + @for file in $(info_TEXINFOS) $(pies_TEXINFOS); \ do \ sed -e = $$file | \ sed -n 'N;/@FIXME-.*ref/{s/\(^[0-9][0-9]*\).*@FIXME-.*ref{\([^}]*\)}.*/'$$file':\1: \2/gp}'; \ done > $@-t; \ if [ -s $@-t ]; then \ echo "Unresolved cross-references:"; \ @@ -117,13 +108,13 @@ check-refs: rm $@-t; \ else \ rm -f $@-t; \ fi check-fixmes: - @for file in $(info_TEXINFOS) $(mailfromd_TEXINFOS); \ + @for file in $(info_TEXINFOS) $(pies_TEXINFOS); \ do \ sed -e = $$file | \ sed -n 'N;/@FIXME{/{s/\(^[0-9][0-9]*\).*@FIXME{\([^}]*\).*/'$$file':\1: \2/gp}'; \ done > $@-t; \ if [ -s $@-t ]; then \ echo "Unresolved FIXMEs:"; \ @@ -132,24 +123,24 @@ check-fixmes: false; \ else \ rm -f $@-t; \ fi check-writeme: - @grep -Hn @WRITEME $(info_TEXINFOS) $(mailfromd_TEXINFOS) > $@-t; \ + @grep -Hn @WRITEME $(info_TEXINFOS) $(pies_TEXINFOS) > $@-t; \ if [ -s $@-t ]; then \ echo "Empty nodes:"; \ cat $@-t; \ rm $@-t; \ false;\ else \ rm $@-t; \ fi check-unrevised: - @grep -Hn @UNREVISED $(info_TEXINFOS) $(mailfromd_TEXINFOS) > $@-t; \ + @grep -Hn @UNREVISED $(info_TEXINFOS) $(pies_TEXINFOS) > $@-t; \ if [ -s $@-t ]; then \ echo "Unrevised nodes:"; \ cat $@-t; \ rm $@-t; \ false;\ else \ @@ -167,13 +158,13 @@ check-docs: # master-menu: $(AM_V_GEN)emacs -batch -l mastermenu.el -f make-master-menu $(info_TEXINFOS) untabify: - @emacs -batch -l untabify.el $(info_TEXINFOS) $(mailfromd_TEXINFOS) + @emacs -batch -l untabify.el $(info_TEXINFOS) $(pies_TEXINFOS) final: untabify master-menu # The rendering level is one of PUBLISH, DISTRIB or PROOF. # Just call `make RENDITION=PROOF [target]' if you want PROOF rendition. |