comparison locale/GNUmakefile @ 2383:bacda30e7eb6

avoid duplicate $(PACKAGES): "uniq" ain't really unique without "sort"
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sat, 29 May 2004 04:35:03 +0000
parents 00001a0e3fe5
children 33469189bf86
comparison
equal deleted inserted replaced
2382:c7a05bddd453 2383:bacda30e7eb6
1 # Extract translatable strings from Roundup sources, 1 # Extract translatable strings from Roundup sources,
2 # update and compile all existing translations 2 # update and compile all existing translations
3 # 3 #
4 # $Id: GNUmakefile,v 1.4 2004-05-29 02:22:13 a1s Exp $ 4 # $Id: GNUmakefile,v 1.5 2004-05-29 04:35:03 a1s Exp $
5 5
6 # tool locations 6 # tool locations
7 XPOT ?= xpot 7 XPOT ?= xpot
8 MSGFMT ?= msgfmt 8 MSGFMT ?= msgfmt
9 MSGMERGE ?= msgmerge 9 MSGMERGE ?= msgmerge
10 XGETTEXT ?= xgettext 10 XGETTEXT ?= xgettext
11 11
12 TEMPLATE=roundup.pot 12 TEMPLATE=roundup.pot
13 13
14 PACKAGES=$(shell find ../roundup -name '*.py'|sed -e 's,/[^/]*$$,,'|uniq) 14 PACKAGES=$(shell find ../roundup -name '*.py'|sed -e 's,/[^/]*$$,,'|sort|uniq)
15 SOURCES=$(PACKAGES:=/*.py) 15 SOURCES=$(PACKAGES:=/*.py)
16 PO_FILES=$(wildcard *.po) 16 PO_FILES=$(wildcard *.po)
17 MO_FILES=$(PO_FILES:.po=.mo) 17 MO_FILES=$(PO_FILES:.po=.mo)
18 18
19 .PHONY: $(TEMPLATE) 19 .PHONY: $(TEMPLATE)

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