Compare commits

...

10 Commits

Author SHA1 Message Date
bd28a4cc37 pdf 2026-03-19 06:27:07 +05:00
Peter Simons
e56c851d3d doc: clean out tmp files generated by latexmk 2019-07-12 16:32:05 +02:00
Peter Simons
188ae0935a bootstrap.sh: find gnulib at ../gnulib, too 2019-07-12 16:32:05 +02:00
Peter Simons
dd519cccb2 configure.ac: don't expect our release tarballs to conform to GNU standards 2019-07-12 16:32:05 +02:00
Peter Simons
e8498b8f6a Replace tabs by blanks in our sample configuration files. 2019-07-12 16:32:05 +02:00
Peter Simons
6a411a6fab Cosmetic changes to the --help output. 2019-07-12 16:31:43 +02:00
Peter Simons
719cc56ca3 git: ignore files generated by latexmk 2019-07-12 15:47:29 +02:00
Peter Simons
618ccc5adc Makefile.am: re-order sub-dirs topographically 2019-07-11 15:02:47 +02:00
Peter Simons
91d6a40b7a librfc822: link our 'mpools' and 'lists' dependencies as libraries 2019-07-11 15:02:24 +02:00
Peter Simons
bfaab8dffd doc: use latexmk to get the amount of necessary re-runs right 2019-07-10 17:37:16 +02:00
12 changed files with 146 additions and 141 deletions

2
.gitignore vendored
View File

@ -34,6 +34,8 @@ Makefile.in
/doc/petidomo.aux /doc/petidomo.aux
/doc/petidomo.css /doc/petidomo.css
/doc/petidomo.dvi /doc/petidomo.dvi
/doc/petidomo.fdb_latexmk
/doc/petidomo.fls
/doc/petidomo.html /doc/petidomo.html
/doc/petidomo.idv /doc/petidomo.idv
/doc/petidomo.lg /doc/petidomo.lg

View File

@ -12,6 +12,7 @@ addons:
- texlive - texlive
- texlive-latex-extra - texlive-latex-extra
- tex4ht - tex4ht
- latexmk
install: install:
- git clone --depth=1 git://git.savannah.gnu.org/gnulib.git - git clone --depth=1 git://git.savannah.gnu.org/gnulib.git

View File

@ -5,7 +5,7 @@
ACLOCAL_AMFLAGS = -I build-aux ACLOCAL_AMFLAGS = -I build-aux
AM_YFLAGS = -d AM_YFLAGS = -d
SUBDIRS = libgnu libargv libtext liblists librfc822 libmpools libconfigfile doc SUBDIRS = libgnu libargv libtext liblists libmpools librfc822 libconfigfile doc
sbin_PROGRAMS = petidomo sbin_PROGRAMS = petidomo

View File

@ -4,6 +4,8 @@ set -eu
if [ -x "gnulib/gnulib-tool" ]; then if [ -x "gnulib/gnulib-tool" ]; then
gnulibtool=gnulib/gnulib-tool gnulibtool=gnulib/gnulib-tool
elif [ -x "../gnulib/gnulib-tool" ]; then
gnulibtool=../gnulib/gnulib-tool
else else
gnulibtool=gnulib-tool gnulibtool=gnulib-tool
fi fi

View File

@ -1,5 +1,5 @@
How to use the Petidomo 2.x mailing list server How to use the Petidomo mailing list server
*********************************************** *******************************************
Petidomo is an automatic mailing list server, which maintains mailing lists Petidomo is an automatic mailing list server, which maintains mailing lists
without any human interaction. The program understands a set of commands without any human interaction. The program understands a set of commands

View File

@ -3,7 +3,7 @@ dnl configure.ac -- Process this file with autoconf to produce a configure scrip
AC_INIT([petidomo],[m4_esyscmd(build-aux/git-version-gen .tarball-version)],[simons@cryp.to],[petidomo],[https://github.com/peti/petidomo]) AC_INIT([petidomo],[m4_esyscmd(build-aux/git-version-gen .tarball-version)],[simons@cryp.to],[petidomo],[https://github.com/peti/petidomo])
AC_CONFIG_SRCDIR([petidomo.h]) AC_CONFIG_SRCDIR([petidomo.h])
AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.11 -Wall gnu subdir-objects]) AM_INIT_AUTOMAKE([1.11 -Wall foreign subdir-objects])
AC_CONFIG_MACRO_DIR([build-aux]) AC_CONFIG_MACRO_DIR([build-aux])
AC_COPYRIGHT([dnl AC_COPYRIGHT([dnl

View File

@ -8,7 +8,7 @@ htmldir = $(pkgdatadir)/html
dist_html_DATA = petidomo.html petidomo.css dist_html_DATA = petidomo.html petidomo.css
petidomo.html: $(srcdir)/petidomo.tex petidomo.html: $(srcdir)/petidomo.tex
latex $< latexmk $<
htlatex $< htlatex $<
petidomo.css: petidomo.html petidomo.css: petidomo.html
@ -17,6 +17,6 @@ petidomo.css: petidomo.html
CLEANFILES = \ CLEANFILES = \
petidomo.4ct petidomo.4tc petidomo.aux petidomo.css petidomo.dvi \ petidomo.4ct petidomo.4tc petidomo.aux petidomo.css petidomo.dvi \
petidomo.html petidomo.idv petidomo.lg petidomo.log petidomo.tmp \ petidomo.html petidomo.idv petidomo.lg petidomo.log petidomo.tmp \
petidomo.toc petidomo.xref petidomo.toc petidomo.xref petidomo.fdb_latexmk petidomo.fls
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in

BIN
doc/petidomo.pdf Normal file

Binary file not shown.

View File

@ -8,9 +8,9 @@ noinst_HEADERS = rfc822.h
librfc822_a_SOURCES = address.y address_scan.l address_sep.c decomment.c librfc822_a_SOURCES = address.y address_scan.l address_sep.c decomment.c
noinst_PROGRAMS = test noinst_PROGRAMS = test
test_SOURCES = test.c ../libmpools/mpools.c ../liblists/lists.c test_SOURCES = test.c
test_CPPFLAGS = -I$(srcdir)/../libgnu test_CPPFLAGS = -I$(srcdir)/../libgnu
test_LDADD = librfc822.a ../libgnu/libgnu.a test_LDADD = librfc822.a ../libgnu/libgnu.a ../libmpools/libmpools.a ../liblists/liblists.a
EXTRA_DIST = testaddresslines parse_address.c EXTRA_DIST = testaddresslines parse_address.c

6
main.c
View File

@ -46,9 +46,9 @@ main(int argc, char * argv[])
char * incoming_mail; char * incoming_mail;
argv_t args[] = argv_t args[] =
{ {
{ARGV_MAND, "mode", ARGV_CHAR_P, &mode, "mode", "listserv, deliver, approve or dump."}, {ARGV_MAND, "mode", ARGV_CHAR_P, &mode, "mode", "listserv, deliver, approve or dump"},
{ARGV_MAYBE, "listname", ARGV_CHAR_P, &listname, "listname", "Default mailing list."}, {ARGV_MAYBE, "listname", ARGV_CHAR_P, &listname, "listname", "default mailing list name"},
{ARGV_MAYBE, "masterconf", ARGV_CHAR_P, &masterconfig_path, "masterconf", "Path to petidomo.conf."}, {ARGV_MAYBE, "masterconf", ARGV_CHAR_P, &masterconfig_path, "masterconf", "path to global petidomo.conf"},
{ARGV_MAYBE, "approved", ARGV_BOOL, &g_is_approved, "approved", "approved flag."}, {ARGV_MAYBE, "approved", ARGV_BOOL, &g_is_approved, "approved", "approved flag."},
{ARGV_LAST} {ARGV_LAST}
}; };