]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - locale/Makefile
Adjust for templates moving from *.html to *.tmpl.
[SourceForge/phpwiki.git] / locale / Makefile
1 # $Id: Makefile,v 1.13 2002-01-18 01:32:52 dairiki Exp $
2 #
3 # locale/Makefile
4 #
5 # This is a replacement for locale/translate.sh to avoid remaking
6 # files that don't need to be remade.
7 #
8
9 POT_FILE = po/phpwiki.pot
10
11 .PHONY: all po mo clean dep
12
13 all     : po mo
14 po      : # dependencies are auto-generated by 'make dep' , see below
15 mo      : # dependencies are auto-generated by 'make dep' , see below
16
17 ${POT_FILE} : # dependencies are auto-generated by 'make dep' , see below
18         xgettext -L C++ -k_ -k__printf -k__sprintf -k__vsprintf -o $@ $^
19
20 po/%.po : ${POT_FILE}
21         test -f $@ || touch $@
22         cp -f $@ $@~
23         msgmerge -o $@.new $@~ $^ && mv -f $@.new $@
24
25 %/LC_MESSAGES/phpwiki.mo : po/%.po
26         mkdir -p $*/LC_MESSAGES
27         msgfmt -o $@ $<
28
29 # Generate .php from .mo rather than .po to maximize
30 # the probability of agreement between .mo and .php files.
31 %/LC_MESSAGES/phpwiki.php : %/LC_MESSAGES/phpwiki.mo
32         msgunfmt $< | awk -f make-php-trans.awk > $@
33
34 clean :
35         rm -f ${POT_FILE} ${MO_FILES} ${PHP_FILES}
36
37 dep :
38         $(SHELL) update-makefile.sh
39
40
41 # DO NOT DELETE THIS LINE
42 #
43 # The remainder of this file is auto-generated
44 #
45 # (Run 'make dep' to regenerate this section.)
46 #
47 po: po/de.po
48 mo: de/LC_MESSAGES/phpwiki.mo de/LC_MESSAGES/phpwiki.php
49 po: po/es.po
50 mo: es/LC_MESSAGES/phpwiki.mo es/LC_MESSAGES/phpwiki.php
51 po: po/fr.po
52 mo: fr/LC_MESSAGES/phpwiki.mo fr/LC_MESSAGES/phpwiki.php
53 po: po/it.po
54 mo: it/LC_MESSAGES/phpwiki.mo it/LC_MESSAGES/phpwiki.php
55 po: po/nl.po
56 mo: nl/LC_MESSAGES/phpwiki.mo nl/LC_MESSAGES/phpwiki.php
57 po: po/sv.po
58 mo: sv/LC_MESSAGES/phpwiki.mo sv/LC_MESSAGES/phpwiki.php
59 #
60 ${POT_FILE}: ../lib/ArchiveCleaner.php
61 ${POT_FILE}: ../lib/ButtonFactory.php
62 ${POT_FILE}: ../lib/config.php
63 ${POT_FILE}: ../lib/DbaDatabase.php
64 ${POT_FILE}: ../lib/DbaListSet.php
65 ${POT_FILE}: ../lib/DbaPartition.php
66 ${POT_FILE}: ../lib/diff3.php
67 ${POT_FILE}: ../lib/difflib.php
68 ${POT_FILE}: ../lib/diff.php
69 ${POT_FILE}: ../lib/display.php
70 ${POT_FILE}: ../lib/editpage.php
71 ${POT_FILE}: ../lib/ErrorManager.php
72 ${POT_FILE}: ../lib/FileFinder.php
73 ${POT_FILE}: ../lib/interwiki.php
74 ${POT_FILE}: ../lib/loadsave.php
75 ${POT_FILE}: ../lib/main.php
76 ${POT_FILE}: ../lib/plugin/_BackendInfo.php
77 ${POT_FILE}: ../lib/plugin/BackLinks.php
78 ${POT_FILE}: ../lib/plugin/Calendar.php
79 ${POT_FILE}: ../lib/plugin/FullTextSearch.php
80 ${POT_FILE}: ../lib/plugin/HelloWorld.php
81 ${POT_FILE}: ../lib/plugin/IncludePage.php
82 ${POT_FILE}: ../lib/plugin/LikePages.php
83 ${POT_FILE}: ../lib/plugin/MostPopular.php
84 ${POT_FILE}: ../lib/plugin/PageHistory.php
85 ${POT_FILE}: ../lib/plugin/RecentChanges.php
86 ${POT_FILE}: ../lib/plugin/text2png.php
87 ${POT_FILE}: ../lib/plugin/TitleSearch.php
88 ${POT_FILE}: ../lib/plugin/Toolbar.php
89 ${POT_FILE}: ../lib/plugin/UserPage.php
90 ${POT_FILE}: ../lib/plugin/ViewSource.php
91 ${POT_FILE}: ../lib/plugin/walkabout.php
92 ${POT_FILE}: ../lib/prepend.php
93 ${POT_FILE}: ../lib/removepage.php
94 ${POT_FILE}: ../lib/Request.php
95 ${POT_FILE}: ../lib/RssWriter.php
96 ${POT_FILE}: ../lib/savepage.php
97 ${POT_FILE}: ../lib/stdlib.php
98 ${POT_FILE}: ../lib/Template.php
99 ${POT_FILE}: ../lib/TextSearchQuery.php
100 ${POT_FILE}: ../lib/Theme.php
101 ${POT_FILE}: ../lib/transform.php
102 ${POT_FILE}: ../lib/WikiCallback.php
103 ${POT_FILE}: ../lib/WikiDB/backend/cvs.php
104 ${POT_FILE}: ../lib/WikiDB/backend/dbaBase.php
105 ${POT_FILE}: ../lib/WikiDB/backend/dba.php
106 ${POT_FILE}: ../lib/WikiDB/backend/dumb/AllRevisionsIter.php
107 ${POT_FILE}: ../lib/WikiDB/backend/dumb/BackLinkIter.php
108 ${POT_FILE}: ../lib/WikiDB/backend/dumb/MostPopularIter.php
109 ${POT_FILE}: ../lib/WikiDB/backend/dumb/MostRecentIter.php
110 ${POT_FILE}: ../lib/WikiDB/backend/dumb/TextSearchIter.php
111 ${POT_FILE}: ../lib/WikiDB/backend/mysql.php
112 ${POT_FILE}: ../lib/WikiDB/backend/PearDB.php
113 ${POT_FILE}: ../lib/WikiDB/backend/pgsql.php
114 ${POT_FILE}: ../lib/WikiDB/backend.php
115 ${POT_FILE}: ../lib/WikiDB/cvs.php
116 ${POT_FILE}: ../lib/WikiDB/dba.php
117 ${POT_FILE}: ../lib/WikiDB.php
118 ${POT_FILE}: ../lib/WikiDB/SQL.php
119 ${POT_FILE}: ../lib/WikiPlugin.php
120 ${POT_FILE}: ../lib/WikiUser.php
121 ${POT_FILE}: ../lib/ziplib.php
122 ${POT_FILE}: ../themes/default/templates/body.tmpl
123 ${POT_FILE}: ../themes/default/templates/browse.tmpl
124 ${POT_FILE}: ../themes/default/templates/editpage.tmpl
125 ${POT_FILE}: ../themes/default/templates/nochanges.tmpl
126 ${POT_FILE}: ../themes/default/templates/savepage.tmpl
127 ${POT_FILE}: ../themes/default/templates/top.tmpl
128 ${POT_FILE}: ../themes/default/templates/viewsource.tmpl
129 ${POT_FILE}: ../themes/default/themeinfo.php
130 ${POT_FILE}: ../themes/Hawaiian/images/pictures/random.php
131 ${POT_FILE}: ../themes/Hawaiian/themeinfo.php
132 ${POT_FILE}: ../themes/MacOSX/lib/RecentChanges.php
133 ${POT_FILE}: ../themes/MacOSX/themeinfo.php
134 ${POT_FILE}: ../themes/WikiTrek/themeinfo.php