projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix another dependency problem
[supertux.git]
/
Jamrules
diff --git
a/Jamrules
b/Jamrules
index
5c35590
..
4dfca55
100644
(file)
--- a/
Jamrules
+++ b/
Jamrules
@@
-48,17
+48,33
@@
include $(TOP)/mk/jam/build.jam ;
IncludeDir $(top_builddir) ; # for config.h
IncludeDir $(top_srcdir)/src ;
IncludeDir $(top_builddir) ; # for config.h
IncludeDir $(top_srcdir)/src ;
+actions quietly Append
+{
+ echo $(>) >> $(<) ;
+}
+
+rule DumpVar
+{
+ for FILE in $(>)
+ {
+ Append $(<) : $(FILE) ;
+ }
+ Depends $(<) : $(>) ;
+}
+
if $(XGETTEXT) != ""
{
actions XGetText
{
if $(XGETTEXT) != ""
{
actions XGetText
{
- $(XGETTEXT) $(XGETTEXT_FLAGS) -o $(<)
"$(>)"
+ $(XGETTEXT) $(XGETTEXT_FLAGS) -o $(<)
-f $(>)
}
rule MakePot
{
if $(>) {
}
rule MakePot
{
if $(>) {
- XGetText $(<) : $(>) ;
- Depends $(<) : $(>) ;
+ DumpVar $(<).in : $(>) ;
+ XGetText $(<) : $(<).in ;
+ RmTemps $(<) : $(<).in ;
+ Depends $(<) : $(<).in ;
Depends all : $(<) ;
}
}
Depends all : $(<) ;
}
}
@@
-66,4
+82,3
@@
if $(XGETTEXT) != ""
rule MakePot
{ }
}
rule MakePot
{ }
}
-