@@ -54,6 +54,10 @@ AC_ARG_WITH([statedir],
AC_DEFINE_UNQUOTED([FEDFS_DEFAULT_STATEDIR], ["$statedir"],
[Define to the default pathname of the directory where fedfsd maintains persistent state.])
+# Publication date stamp for man pages
+pubdate=`date +"%e %B %Y"`
+AC_SUBST(pubdate)
+
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
@@ -133,5 +133,6 @@ Per-release
4. Create a commit for the release
5. Create a tag for the release commit
6. gc the git database and push the release
- 7. "make dist" and publish the tarball
+ 7. "make distclean; sh ./autogen.sh; ./configure"
+ 8. "make distcheck" and publish the tarball
@@ -42,6 +42,12 @@ dist_man8_MANS = rpc.fedfsd.8 mount.fedfs.8 fedfs-map-nfs4.8 \
CLEANFILES = cscope.in.out cscope.out cscope.po.out
DISTCLEANFILES = Makefile.in
+dist-hook:
+ (cd $(distdir) && \
+ for p in $(dist_man7_MANS) $(dist_man8_MANS); do \
+ $(SED) -i 's,[@]publication-date@,$(pubdate),' $$p ;\
+ done)
+
install-data-hook:
(cd $(DESTDIR)$(mandir)/man7 && \
for p in $(dist_man7_MANS); do \
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-CREATE-JUNCTION 8 "30 Apr 2011"
+.TH FEDFS-CREATE-JUNCTION 8 "@publication-date@"
.SH NAME
fedfs-create-junction \- send a FEDFS_CREATE_JUNCTION ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-CREATE-REPLICATION 8 "30 Apr 2011"
+.TH FEDFS-CREATE-REPLICATION 8 "@publication-date@"
.SH NAME
fedfs-create-replication \- send a FEDFS_CREATE_REPLICATION ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-DELETE-JUNCTION 8 "30 Apr 2011"
+.TH FEDFS-DELETE-JUNCTION 8 "@publication-date@"
.SH NAME
fedfs-delete-junction \- send a FEDFS_DELETE_JUNCTION ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-DELETE-REPLICATION 8 "30 Apr 2011"
+.TH FEDFS-DELETE-REPLICATION 8 "@publication-date@"
.SH NAME
fedfs-delete-replication \- send a FEDFS_DELETE_REPLICATION ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-GET-LIMITED-NSDB-PARAMS 8 "30 Apr 2011"
+.TH FEDFS-GET-LIMITED-NSDB-PARAMS 8 "@publication-date@"
.SH NAME
fedfs-get-limited-nsdb-params \- send a FEDFS_GET_LIMITED_NSDB_PARAMS ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-GET-NSDB-PARAMS 8 "30 Apr 2011"
+.TH FEDFS-GET-NSDB-PARAMS 8 "@publication-date@"
.SH NAME
fedfs-get-nsdb-params \- send a FEDFS_GET_NSDB_PARAMS ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-LOOKUP-JUNCTION 8 "30 Apr 2011"
+.TH FEDFS-LOOKUP-JUNCTION 8 "@publication-date@"
.SH NAME
fedfs-lookup-junction \- send a FEDFS_LOOKUP_JUNCTION ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-LOOKUP-REPLICATION 8 "30 Apr 2011"
+.TH FEDFS-LOOKUP-REPLICATION 8 "@publication-date@"
.SH NAME
fedfs-lookup-replication \- send a FEDFS_LOOKUP_REPLICATION ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-MAP-NFS4 8 "30 Apr 2011"
+.TH FEDFS-MAP-NFS4 8 "@publication-date@"
.SH NAME
fedfs-map-nfs4 \- generate automounter program map entries for FedFS
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-NULL 8 "30 Apr 2011"
+.TH FEDFS-NULL 8 "@publication-date@"
.SH NAME
fedfs-null \- send a FEDFS_NULL ADMIN protocol request
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH FEDFS-SET-NSDB-PARAMS 8 "30 Apr 2011"
+.TH FEDFS-SET-NSDB-PARAMS 8 "@publication-date@"
.SH NAME
fedfs-set-nsdb-params \- send a FEDFS_SET_NSDB_PARAMS ADMIN protocol request
.SH SYNOPSIS
@@ -24,7 +24,7 @@
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
.\"
-.TH FEDFS 7 "31 Mar 2011"
+.TH FEDFS 7 "@publication-date@"
.SH NAME
fedfs \- The Linux Federated File System implementation
.SH DESCRIPTION
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH MOUNT.FEDFS 8 "31 Mar 2011"
+.TH MOUNT.FEDFS 8 "@publication-date@"
.SH NAME
mount.fedfs \- mount a FedFS domain root
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-ANNOTATE 8 "15 May 2011"
+.TH NSDB-ANNOTATE 8 "@publication-date@"
.SH NAME
nsdb-annotate \- modify the fedfsAnnotation attribute of an NSDB entry
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-CREATE-FSL 8 "15 May 2011"
+.TH NSDB-CREATE-FSL 8 "@publication-date@"
.SH NAME
nsdb-create-fsl \- create a fileset location (FSL) record on an NSDB
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-CREATE-FSN 8 "15 May 2011"
+.TH NSDB-CREATE-FSN 8 "@publication-date@"
.SH NAME
nsdb-create-fsn \- create a fileset name (FSN) record on an NSDB
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-DELETE-FSL 8 "15 May 2011"
+.TH NSDB-DELETE-FSL 8 "@publication-date@"
.SH NAME
nsdb-delete-fsl \- delete a fileset location (FSL) record from an NSDB
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-DELETE-FSN 8 "15 May 2011"
+.TH NSDB-DELETE-FSN 8 "@publication-date@"
.SH NAME
nsdb-delete-fsn \- delete a fileset name (FSN) record from an NSDB
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-REMOVE-NCI 8 "15 August 2011"
+.TH NSDB-REMOVE-NCI 8 "@publication-date@"
.SH NAME
nsdb-delete-nsdb \- remove all FedFS info from an NSDB
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-DESCRIBE 8 "15 May 2011"
+.TH NSDB-DESCRIBE 8 "@publication-date@"
.SH NAME
nsdb-describe \- modify the fedfsDescr attribute of an NSDB entry
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-LIST 8 "15 May 2011"
+.TH NSDB-LIST 8 "@publication-date@"
.SH NAME
nsdb-list \- list file set name and location entries on an NSDB
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-NCES 8 "15 May 2011"
+.TH NSDB-NCES 8 "@publication-date@"
.SH NAME
nsdb-nces \- list NSDB container entries on an LDAP server
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-REMOVE-NCI 8 "15 August 2011"
+.TH NSDB-REMOVE-NCI 8 "@publication-date@"
.SH NAME
nsdb-remove-nci \- remove NSDB container information from an LDAP server
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-RESOLVE-FSN 8 "15 May 2011"
+.TH NSDB-RESOLVE-FSN 8 "@publication-date@"
.SH NAME
nsdb-resolve-fsn \- resolve a fileset name (FSN) record on an NSDB
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-UPDATE-FSL 8 "15 May 2011"
+.TH NSDB-UPDATE-FSL 8 "@publication-date@"
.SH NAME
nsdb-update-fsl \- update attributes of a fileset location (FSL) record
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDB-UPDATE-NCI 8 "15 August 2011"
+.TH NSDB-UPDATE-NCI 8 "@publication-date@"
.SH NAME
nsdb-update-nci \- update NSDB container information on an LDAP server
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH NSDBPARAMS 8 "30 Apr 2011"
+.TH NSDBPARAMS 8 "@publication-date@"
.SH NAME
nsdbparams \- manage local NSDB connection parameter database
.SH SYNOPSIS
@@ -23,7 +23,7 @@
.\"
.\" http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
.\"
-.TH RPC.FEDFSD 8 "15 Mar 2011"
+.TH RPC.FEDFSD 8 "@publication-date@"
.SH NAME
rpc.fedfsd \- FedFS administrative service daemon
.SH SYNOPSIS
Add a "dist-hook" target in the doc/man Makefile to update the publication date in all man pages when creating a dist tarball. Unfortunately my "make" fu is not strong enough to figure out how to generate the date when you run "make dist" -- it's generated at ./configure time instead. We can probably fix this at some later point. We're going to continue with the "dd MMMMMMMM YYYY" format of the publication date. I don't see much consistency amongst the man pages I sampled on my Fedora 15 system. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- configure.ac | 4 ++++ doc/CheckInTests | 3 ++- doc/man/Makefile.am | 6 ++++++ doc/man/fedfs-create-junction.8 | 2 +- doc/man/fedfs-create-replication.8 | 2 +- doc/man/fedfs-delete-junction.8 | 2 +- doc/man/fedfs-delete-replication.8 | 2 +- doc/man/fedfs-get-limited-nsdb-params.8 | 2 +- doc/man/fedfs-get-nsdb-params.8 | 2 +- doc/man/fedfs-lookup-junction.8 | 2 +- doc/man/fedfs-lookup-replication.8 | 2 +- doc/man/fedfs-map-nfs4.8 | 2 +- doc/man/fedfs-null.8 | 2 +- doc/man/fedfs-set-nsdb-params.8 | 2 +- doc/man/fedfs.7 | 2 +- doc/man/mount.fedfs.8 | 2 +- doc/man/nsdb-annotate.8 | 2 +- doc/man/nsdb-create-fsl.8 | 2 +- doc/man/nsdb-create-fsn.8 | 2 +- doc/man/nsdb-delete-fsl.8 | 2 +- doc/man/nsdb-delete-fsn.8 | 2 +- doc/man/nsdb-delete-nsdb.8 | 2 +- doc/man/nsdb-describe.8 | 2 +- doc/man/nsdb-list.8 | 2 +- doc/man/nsdb-nces.8 | 2 +- doc/man/nsdb-remove-nci.8 | 2 +- doc/man/nsdb-resolve-fsn.8 | 2 +- doc/man/nsdb-update-fsl.8 | 2 +- doc/man/nsdb-update-nci.8 | 2 +- doc/man/nsdbparams.8 | 2 +- doc/man/rpc.fedfsd.8 | 2 +- 31 files changed, 40 insertions(+), 29 deletions(-)