[Forensics-changes] [fcrackzip] 62/93: debian/pod2man.mk: update

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Wed Dec 28 03:06:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

giovani-guest pushed a commit to branch debian
in repository fcrackzip.

commit ddf09f17bb8900f8fbce638d8c6c1d3dcb84d61a
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Sat Feb 11 04:46:21 2012 -0500

    debian/pod2man.mk: update
---
 debian/pod2man.mk | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/debian/pod2man.mk b/debian/pod2man.mk
index 3d8d1db..450fa9a 100644
--- a/debian/pod2man.mk
+++ b/debian/pod2man.mk
@@ -2,7 +2,7 @@
 #
 #   Copyright information
 #
-#	Copyright (C) 2008-2009 Jari Aalto
+#	Copyright (C) 2008-2010 Jari Aalto
 #
 #   License
 #
@@ -21,31 +21,36 @@
 #
 #   Description
 #
-# 	Convert *.pod files to manual pages. Write this to 'install'
-# 	target:
+# 	Convert *.pod files to manual pages. Add this to Makefile:
 #
-#       install: build $(MANPAGE)
+#	    PACKAGE = package
+#
+#	    man:
+#		    make -f pod2man.mk PACKAGE=$(PACKAGE) makeman
+#
+#	    build: man
 
 ifneq (,)
     This makefile requires GNU Make.
 endif
 
-# This variable *must* be set when calling
+# This variable *must* be set when called
 PACKAGE		?= package
 
 # Optional variables to set
 MANSECT		?= 1
-PODCENTER	?= $$(date "+%Y-%m-%d")
+PODCENTER 	?= User Commands
+PODDATE		?= $$(date "+%Y-%m-%d")
 
 # Directories
-MANSRC		=
-MANDEST		= $(MANSRC)
+MANSRC		?=
+MANDEST		?= $(MANSRC)
 
-MANPOD		= $(MANSRC)$(PACKAGE).$(MANSECT).pod
-MANPAGE		= $(MANDEST)$(PACKAGE).$(MANSECT)
+MANPOD		?= $(MANSRC)$(PACKAGE).$(MANSECT).pod
+MANPAGE		?= $(MANDEST)$(PACKAGE).$(MANSECT)
 
-POD2MAN		= pod2man
-POD2MAN_FLAGS	= --utf8
+POD2MAN		?= pod2man
+POD2MAN_FLAGS	?= --utf8
 
 makeman: $(MANPAGE)
 
@@ -54,6 +59,7 @@ $(MANPAGE): $(MANPOD)
 	podchecker $(MANPOD)
 	LC_ALL= LANG=C $(POD2MAN) $(POD2MAN_FLAGS) \
 		--center="$(PODCENTER)" \
+		--date="$(PODDATE)" \
 		--name="$(PACKAGE)" \
 		--section="$(MANSECT)" \
 		$(MANPOD) \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/fcrackzip.git



More information about the forensics-changes mailing list