changeset 2381:00001a0e3fe5

FreeBSD xgettext fails on non-exiting file names... ...so dumb adding '*.py' to each directory name in the Roundup source tree does not work. $(PACKAGES) now include only directories containing .py files
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sat, 29 May 2004 02:22:13 +0000
parents a2025bdd1491
children c7a05bddd453
files locale/GNUmakefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/locale/GNUmakefile	Sat May 29 01:35:27 2004 +0000
+++ b/locale/GNUmakefile	Sat May 29 02:22:13 2004 +0000
@@ -1,7 +1,7 @@
 # Extract translatable strings from Roundup sources,
 # update and compile all existing translations
 #
-# $Id: GNUmakefile,v 1.3 2004-05-19 17:24:52 a1s Exp $
+# $Id: GNUmakefile,v 1.4 2004-05-29 02:22:13 a1s Exp $
 
 # tool locations
 XPOT ?= xpot
@@ -11,7 +11,7 @@
 
 TEMPLATE=roundup.pot
 
-PACKAGES=$(shell find ../roundup -type d|grep -v CVS)
+PACKAGES=$(shell find ../roundup -name '*.py'|sed -e 's,/[^/]*$$,,'|uniq)
 SOURCES=$(PACKAGES:=/*.py)
 PO_FILES=$(wildcard *.po)
 MO_FILES=$(PO_FILES:.po=.mo)

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