Skip to content

Commit d6b2b9d

Browse files
author
Alexander Smishlajev
committed
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
1 parent 11dac8e commit d6b2b9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

locale/GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Extract translatable strings from Roundup sources,
22
# update and compile all existing translations
33
#
4-
# $Id: GNUmakefile,v 1.3 2004-05-19 17:24:52 a1s Exp $
4+
# $Id: GNUmakefile,v 1.4 2004-05-29 02:22:13 a1s Exp $
55

66
# tool locations
77
XPOT ?= xpot
@@ -11,7 +11,7 @@ XGETTEXT ?= xgettext
1111

1212
TEMPLATE=roundup.pot
1313

14-
PACKAGES=$(shell find ../roundup -type d|grep -v CVS)
14+
PACKAGES=$(shell find ../roundup -name '*.py'|sed -e 's,/[^/]*$$,,'|uniq)
1515
SOURCES=$(PACKAGES:=/*.py)
1616
PO_FILES=$(wildcard *.po)
1717
MO_FILES=$(PO_FILES:.po=.mo)

0 commit comments

Comments
 (0)