INN commit: trunk (6 files)
INN Commit
Russ_Allbery at isc.org
Tue Jun 10 06:17:30 UTC 2008
Date: Monday, June 9, 2008 @ 23:17:29
Author: iulius
Revision: 7874
Generate INN::Config man page.
Modified:
trunk/MANIFEST
trunk/Makefile
trunk/Makefile.global.in
trunk/doc/man/ (properties)
trunk/doc/man/Makefile
trunk/perl/Makefile
--------------------+
MANIFEST | 1 +
Makefile | 2 +-
Makefile.global.in | 6 ++++++
doc/man/Makefile | 7 ++++++-
perl/Makefile | 20 +++++++++++++++++---
5 files changed, 31 insertions(+), 5 deletions(-)
Modified: MANIFEST
===================================================================
--- MANIFEST 2008-06-09 19:35:07 UTC (rev 7873)
+++ MANIFEST 2008-06-10 06:17:29 UTC (rev 7874)
@@ -138,6 +138,7 @@
doc/hook-perl Christophe Wolfhugel's Perl hook notes
doc/hook-python Python hook notes
doc/man nroff documentation (Directory)
+doc/man/INN__Config.3pm Manpage for INN::Config Perl module
doc/man/Makefile Makefile for nroff documentation
doc/man/active.5 Manpage for active database
doc/man/active.times.5 Manpage for active.times file
Modified: Makefile
===================================================================
--- Makefile 2008-06-09 19:35:07 UTC (rev 7873)
+++ Makefile 2008-06-10 06:17:29 UTC (rev 7874)
@@ -8,7 +8,7 @@
$(PATHAUTHPASSWD) $(PATHCONTROL) $(PATHFILTER) \
$(PATHRNEWS) $(PATHDB) $(PATHDOC) $(PATHETC) $(PATHLIB) \
$(PATHLIBPERL) $(PATHLIBPERL)/INN \
- $(PATHMAN) $(MAN1) $(MAN3) $(MAN5) $(MAN8) $(PATHSPOOL) \
+ $(PATHMAN) $(MAN1) $(MAN3) $(MAN3PM) $(MAN5) $(MAN8) $(PATHSPOOL) \
$(PATHTMP) $(PATHARCHIVE) $(PATHARTICLES) $(PATHINCOMING) \
$(PATHINBAD) $(PATHTAPE) $(PATHOVERVIEW) $(PATHOUTGOING) \
$(PATHLOG) $(PATHLOG)/OLD $(PATHINCLUDE)
Modified: Makefile.global.in
===================================================================
--- Makefile.global.in 2008-06-09 19:35:07 UTC (rev 7873)
+++ Makefile.global.in 2008-06-10 06:17:29 UTC (rev 7874)
@@ -253,9 +253,15 @@
MAN1 = $(mandir)/man1
MAN3 = $(mandir)/man3
+MAN3PM = $(mandir)/man3
MAN5 = $(mandir)/man5
MAN8 = $(mandir)/man8
+## Extension used for Perl modules man pages (for instance "INN::Config.3pm"
+## if MAN3PM_EXT is set to "3pm").
+
+MAN3PM_EXT = 3pm
+
## Installation settings. The file installation modes are determined by
## configure; inews and rnews are special and have configure flags to
## control how they're installed. See INSTALL for more information.
Property changes on: trunk/doc/man
___________________________________________________________________
Name: svn:ignore
- active.5
active.times.5
actsync.8
archive.8
auth_krb5.8
auth_smb.8
batcher.8
buffchan.8
buffindexed.conf.5
ckpasswd.8
control.ctl.5
convdate.1
ctlinnd.8
cycbuff.conf.5
distrib.pats.5
distributions.5
docheckgroups.8
domain.8
expire.ctl.5
expireover.8
fastrm.1
getlist.1
grephistory.1
ident.8
inews.1
inn.conf.5
innbind.8
innconfval.1
innd.8
inndf.8
innmail.1
innupgrade.8
libauth.3
libinnhist.3
list.3
mailpost.8
makehistory.8
moderators.5
motd.news.5
newsfeeds.5
newslog.5
newsgroups.5
ninpaths.8
nnrpd.8
ovdb.5
ovdb_init.8
ovdb_monitor.8
ovdb_server.8
ovdb_stat.8
overchan.8
passwd.nntp.5
perl-nocem.8
pgpverify.1
pullnews.1
qio.3
radius.8
radius.conf.5
rc.news.8
readers.conf.5
rnews.1
sasl.conf.5
scanlogs.8
send-uucp.8
sendinpaths.8
simpleftp.1
sm.1
storage.conf.5
subscriptions.5
tally.control.8
tdx-util.8
tinyleaf.8
tst.3
uwildmat.3
+ active.5
active.times.5
actsync.8
archive.8
auth_krb5.8
auth_smb.8
batcher.8
buffchan.8
buffindexed.conf.5
ckpasswd.8
control.ctl.5
convdate.1
ctlinnd.8
cycbuff.conf.5
distrib.pats.5
distributions.5
docheckgroups.8
domain.8
expire.ctl.5
expireover.8
fastrm.1
getlist.1
grephistory.1
ident.8
inews.1
inn.conf.5
INN__Config.3pm
innbind.8
innconfval.1
innd.8
inndf.8
innmail.1
innupgrade.8
libauth.3
libinnhist.3
list.3
mailpost.8
makehistory.8
moderators.5
motd.news.5
newsfeeds.5
newslog.5
newsgroups.5
ninpaths.8
nnrpd.8
ovdb.5
ovdb_init.8
ovdb_monitor.8
ovdb_server.8
ovdb_stat.8
overchan.8
passwd.nntp.5
perl-nocem.8
pgpverify.1
pullnews.1
qio.3
radius.8
radius.conf.5
rc.news.8
readers.conf.5
rnews.1
sasl.conf.5
scanlogs.8
send-uucp.8
sendinpaths.8
simpleftp.1
sm.1
storage.conf.5
subscriptions.5
tally.control.8
tdx-util.8
tinyleaf.8
tst.3
uwildmat.3
Modified: doc/man/Makefile
===================================================================
--- doc/man/Makefile 2008-06-09 19:35:07 UTC (rev 7873)
+++ doc/man/Makefile 2008-06-10 06:17:29 UTC (rev 7874)
@@ -11,6 +11,8 @@
SEC3 = clientlib.3 dbz.3 inndcomm.3 libauth.3 libinn.3 libinnhist.3 \
libstorage.3 list.3 qio.3 tst.3 uwildmat.3
+SEC3PM = INN__Config.3pm
+
SEC5 = active.5 active.times.5 buffindexed.conf.5 control.ctl.5 \
cycbuff.conf.5 distrib.pats.5 distributions.5 expire.ctl.5 history.5 incoming.conf.5 \
inn.conf.5 innfeed.conf.5 innwatch.ctl.5 moderators.5 motd.news.5 \
@@ -35,7 +37,7 @@
tags ctags:
profiled:
-install: install-man1 install-man3 install-man5 install-man8
+install: install-man1 install-man3 install-man3pm install-man5 install-man8
install-man1:
for M in $(SEC1) ; do \
@@ -47,6 +49,9 @@
$(CP_MAN) $$M $D$(MAN3)/$$M ; \
done
+install-man3pm:
+ $(CP_MAN) INN__Config.3pm $D$(MAN3PM)/INN\:\:Config.$(MAN3PM_EXT)
+
# We also create symbolic links between config files and programs.
# We try to use relative symbolic links, when possible. As '-ef' is
# not required by POSIX, we make absolute symbolic links before this
Modified: perl/Makefile
===================================================================
--- perl/Makefile 2008-06-09 19:35:07 UTC (rev 7873)
+++ perl/Makefile 2008-06-10 06:17:29 UTC (rev 7874)
@@ -7,21 +7,31 @@
ALL =
EXTRA = INN/Config.pm
-all: $(ALL) $(EXTRA)
+## The double underscore '__' will be converted into two colons '::'
+## during the install process (otherwise, make would complain in this
+## file, and we cannot generate the right file with '::' in the
+## Subversion man directory because it would always be regenerated:
+## the file containing '__' would indeed not be found).
+MAN = ../doc/man/INN__Config.3pm
+all: $(ALL) $(EXTRA) $(MAN)
+
install: all
for F in $(EXTRA) ; do \
$(CP_RPUB) $$F $D$(PATHLIBPERL)/$$F ; \
done
-bootstrap:
+bootstrap: $(MAN)
clean:
rm -f $(ALL)
-clobber distclean maintclean: clean
+clobber distclean: clean
rm -f $(EXTRA)
+maintclean: distclean
+ rm -f $(MAN)
+
depend:
profiled: all
@@ -29,3 +39,7 @@
$(EXTRA) $(FIXSCRIPT):
@echo Run configure before running make. See INSTALL for details.
@exit 1
+
+../doc/man/INN__Config.3pm: INN/Config.pm
+ $(POD2MAN) -s '3pm' -n "INN::Config" $? > $@
+
More information about the inn-committers
mailing list