projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"Print Screen"-Key takes screenshots
[supertux.git]
/
Jamrules
diff --git
a/Jamrules
b/Jamrules
index
3213e5d
..
4dfca55
100644
(file)
--- a/
Jamrules
+++ b/
Jamrules
@@
-4,6
+4,9
@@
if ! $(top_builddir)
}
top_srcdir = $(TOP) ;
}
top_srcdir = $(TOP) ;
+# unset some stuff defined in Jambase
+LEX = ;
+
JAMCONFIG ?= $(top_builddir)/Jamconfig ;
include $(JAMCONFIG) ;
if ! $(JAMCONFIG_READ)
JAMCONFIG ?= $(top_builddir)/Jamconfig ;
include $(JAMCONFIG) ;
if ! $(JAMCONFIG_READ)
@@
-43,19
+46,35
@@
include $(TOP)/mk/jam/build.jam ;
# Include Dirs
IncludeDir $(top_builddir) ; # for config.h
# Include Dirs
IncludeDir $(top_builddir) ; # for config.h
-IncludeDir lib src ;
+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) -
-keyword='_:1' -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 : $(<) ;
}
}
@@
-63,4
+82,3
@@
if $(XGETTEXT) != ""
rule MakePot
{ }
}
rule MakePot
{ }
}
-