summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-03 17:18:44 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-03 17:18:44 +0000
commit5932bb94ffc5c10ab00831b70e703451acdc76b5 (patch)
tree09ec8414e57835974b9ecafba8df9152640ea97c /Makefile.am
parent26e33eae6ff593878b1402ef6d5596dc1f7c7fe3 (diff)
Add AC_SYS_LARGEFILE for systems that need it to access large
wtmpx/lastlogs Set version string in man page
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 111ca65..7389323 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,6 +26,13 @@ sessreg_LDADD = $(SESSREG_LIBS)
sessreg_SOURCES = \
sessreg.c
+XORGRELSTRING = @PACKAGE_STRING@
+ XORGMANNAME = X Version 11
-dist_man1_MANS = \
- sessreg.man
+sessreg.1: sessreg.man
+ sed 's/__xorgversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \
+ < sessreg.man > sessreg.1
+
+man1_MANS = sessreg.1
+CLEANFILES = $(man1_MANS)
+EXTRA_DIST = sessreg.man