[ace-of-penguins] 51/141: pod2man.mk: update

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 13:54:56 UTC 2016


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

apo-guest pushed a commit to branch master
in repository ace-of-penguins.

commit 6f54cca6f92eb6ab442a2b62cf964252a0d00806
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Fri Nov 18 13:55:24 2011 +0200

    pod2man.mk: update
---
 debian/pod2man.mk | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/debian/pod2man.mk b/debian/pod2man.mk
index 64bc797..450fa9a 100644
--- a/debian/pod2man.mk
+++ b/debian/pod2man.mk
@@ -21,10 +21,14 @@
 #
 #   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.
@@ -36,17 +40,17 @@ PACKAGE		?= package
 # Optional variables to set
 MANSECT		?= 1
 PODCENTER 	?= User Commands
-PODDATE		= $$(date "+%Y-%m-%d")
+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)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ace-of-penguins.git



More information about the Pkg-games-commits mailing list