diff locale/GNUmakefile @ 3761:800bc51a9c8e

add template directories to the list of Python packages for message extraction
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Thu, 16 Nov 2006 14:14:42 +0000
parents 3d9e1906ba58
children 5a9631828e33
line wrap: on
line diff
--- a/locale/GNUmakefile	Wed Nov 15 06:27:15 2006 +0000
+++ b/locale/GNUmakefile	Thu Nov 16 14:14:42 2006 +0000
@@ -1,7 +1,7 @@
 # Extract translatable strings from Roundup sources,
 # update and compile all existing translations
 #
-# $Id: GNUmakefile,v 1.10 2006-03-04 09:04:29 a1s Exp $
+# $Id: GNUmakefile,v 1.11 2006-11-16 14:14:42 a1s Exp $
 
 # tool locations
 XPOT ?= xpot
@@ -12,7 +12,8 @@
 
 TEMPLATE=roundup.pot
 
-PACKAGES=$(shell find ../roundup -name '*.py'|sed -e 's,/[^/]*$$,,'|sort|uniq)
+PACKAGES=$(shell find ../roundup ../templates -name '*.py' \
+	 | sed -e 's,/[^/]*$$,,' | sort | uniq)
 SOURCES=$(PACKAGES:=/*.py)
 PO_FILES=$(wildcard *.po)
 MO_FILES=$(PO_FILES:.po=.mo)

Roundup Issue Tracker: http://roundup-tracker.org/