index
:
drakx
distro/mdv2007.1
distro/mdv2008.0
distro/mdv2008.1
distro/mdv2009.0
distro/mdv2009.1
distro/mdv2010.0
distro/mes5
distro/mes5-2.6.33
distro/mes6
distro/mga1
distro/mga2
distro/mga3
distro/mga4
distro/mga5
distro/mga6
distro/mga7
distro/mga8
distro/mga9
master
topic/Corpo_2_1
topic/KA9_0
topic/MDK-10-update
topic/MDK-10_1-update
topic/MDK-10_2-update
topic/MDK-2006_0-update
topic/MDK92-branch
topic/MDKC_1_0
topic/PCMCIA_CS_DISTRO
topic/R9_0-64bit-branch
topic/R9_1_HP-branch
topic/a
topic/before_matchbox_wm
topic/bug-13680
topic/dietlibc
topic/efi
topic/extlinux
topic/firewall
topic/gdk-pixbuf-0-branch
topic/gi-ppc
topic/ia64-8_1
topic/mandrakesoft
topic/mlcd4
topic/ppp
topic/rp-pppoe
topic/switching_to_dnf
topic/switching_to_urpmi
topic/unlabeled-1.1.1
topic/v_webmin_0_87
topic/x86_64-branch
user/animtim/designWork
user/colin/rescue-systemd
user/ennael/mga6
user/erwan/bug-13680
user/jibz/aarch64
user/martinw/mga6
user/pterjan/arm64
Mageia Installer and base platform for many utilities
Thierry Vignaud [tv]
summary
refs
log
tree
commit
diff
stats
= ..
/
rpmdrake ..
/
edit-urpm-sources.pl ..
/
rpmdrake.pm PL_CFILES
= $(
PL_FILES
:%=%
_.c
)
POFILES
= $(
shell
ls
*
.po
)
MOFILES
= $(
POFILES
:%
.po
=%
.mo
)
LANGS
= $(
POFILES
:%
.po
=%)
PREFIX
= /
usr
/
local DATADIR
= $(
PREFIX
)/
share LOCALEDIR
=$(
DATADIR
)/
locale
all
: $(
MOFILES
)
%
.mo
: %
.po msgfmt
-
o
$
@
$<
$(
PL_CFILES
): %
_.c
: %
..
/
grpmi
/
po
/
fake_c.pl
$< > $
@
%
.mo
: %
.po msgfmt
-
o
$
@
$<
merge
:
rpmdrake.pot @for n in
$(
POFILES
);
do \ echo
"Merging $$n"
;
\ msgmerge
"$$n"
$< >
"$$n"
t
;
\ mv
-
f
"$$n"
t
"$$n"
;
\ done rpmdrake.pot
: $(
PL_CFILES
)
xgettext
-
F
-
n
--
add-comments
=
'-PO'
--
keyword
=
_
--
language
=
C
-
o
$
@
$(
PL_CFILES
)
install
:
for l in
$(
LANGS
);
do \
install
-
d
$(
LOCALEDIR
)/$
$l
/
LC_MESSAGES
;
\
install
-
m
644
$
$l
.mo
$(
LOCALEDIR
)/$
$l
/
LC_MESSAGES
/
rpmdrake.mo
;
\ done
clean
:
@
rm
-
rf
*
.mo
$(
POFILES
:%=%
t
) $(
PL_CFILES
)
rpmdrake.pot