From d764cb5f0a9cf59ec2f6109907899886c3f23f35 Mon Sep 17 00:00:00 2001 From: codehelp Date: Sun, 1 Nov 2009 16:16:28 +0000 Subject: [PATCH] update trunk Makefile for genmanpages git-svn-id: http://emdebian.org/svn/current@6662 563faec7-e20c-0410-992a-a66f704d0ccd --- Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index a04380c..c89ca7f 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,20 @@ -all: +DESTDIR ?= +PREFIX ?= /usr +DEST = $(DESTDIR)$(PREFIX) + +all: docbuild + +docbuild: + ./genmanpages install: clean: - $(RM) *tar.gz.cdbs-config_list - $(RM) *.1 *.3 - $(RM) doc/po4a.config - $(RM) -r doc/html/multistrap/ doc/html/emdebian-rootfs/ - -check: + $(RM) *~ + -$(MAKE) -C doc clean -test: +# adds the POT file to the source tarball +native-dist: Makefile + ./genmanpages --pot-only + $(MAKE) -C po pot