grim/guifications2
Clone
Summary
Browse
Changes
Graph
Cheating by including the compatibility header for now.
org.guifications.gf2
2007-04-01, John Bailey
405222820c3b
Cheating by including the compatibility header for now.
# Makefile.mingw
#
# Description: Makefile to generate mo files
#
GAIM_TOP
=
../../../..
include $(GAIM_TOP)/libgaim/win32/global.mak
PACKAGE
=
guifications
.SUFFIXES
:
.SUFFIXES
:
.
po
.
gmo
##
## SOURCES, OBJECTS
##
CATALOGS
=
$(
patsubst
%.po,%.gmo,
$(
wildcard
*.po
))
##
## RULES
##
.po.gmo
:
rm
-f
$@
&&
$(
GMSGFMT
)
--statistics
-o
$@
$<
##
## TARGETS
##
.PHONY
:
all
install
clean
all
:
$(
CATALOGS
)
install
:
all
mkdir
-p
$(
GAIM_INSTALL_PO_DIR
)
@catalogs
=
'$(CATALOGS)'
;
\
for
cat
in
$$
catalogs
;
do
\
cat
=
`
basename
$$
cat
`
;
\
lang
=
`
echo
$$
cat
|
sed
's/\.gmo$$//'
`
;
\
dir
=
$(
GAIM_INSTALL_PO_DIR
)
/
$$
lang/LC_MESSAGES
;
\
mkdir
-p
$$
dir
;
\
cp
$$
cat
$$
dir/
$(
PACKAGE
)
.mo
;
\
echo
"installing
$$
cat as
$$
dir/
$(
PACKAGE
)
.mo"
;
\
done
clean
:
rm
-f
*.gmo