diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-21 16:22:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-21 16:22:55 +0000 |
commit | 24f319fa4f05ad37ee82f24011cacab700b80c68 (patch) | |
tree | 01e6522a29fd6064978f62a169ade143089ca197 | |
parent | 7cb30878fc6639711bdb054ce71b503447045e8c (diff) | |
download | drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar.gz drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar.bz2 drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.tar.xz drakx-backup-do-not-use-24f319fa4f05ad37ee82f24011cacab700b80c68.zip |
check presence of '$' in DrakX.pot
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | perl-install/Makefile | 3 | ||||
-rw-r--r-- | perl-install/share/po/Makefile | 3 |
3 files changed, 7 insertions, 0 deletions
@@ -101,6 +101,7 @@ clean: check: @badrights=`find $(ROOTDEST)/Mandrake/mdkinst | perl -lne 'print if !((stat)[2] & 4)'`; [ -z "$$badrights" ] || { echo "bad rights for files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$badrights" ; echo "bad rights for files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; } @missing_kb=`find -name "Entries" | xargs perl -F/ -alne 'print $$ARGV =~ m|(.*)/CVS|, "/$$F[1]" if $$F[1] =~ /\.(png|gif|bmp|xcf|gz|bz2|tar|rdz|so|a|o|mar|img|exe)$$/ && $$F[4] ne "-kb"'` ; [ -z "$$missing_kb" ] || { echo "missing -kb in CVS for files vvvvvvvvvvvvvvvvvvvvvvvvvv" ; echo "$$missing_kb" ; echo "missing -kb in CVS for files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" ; exit 1; } + $(MAKE) -C perl-install check upload: $(MAKE) clean diff --git a/perl-install/Makefile b/perl-install/Makefile index ffa280b4f..2a426a097 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -15,6 +15,9 @@ clean: rm -rf auto ../drakxtools.tar.bz2 find . -name "*~" -o -name ".#*" -o -name "TAGS" -o -name "*.old" | xargs rm -f +check: + $(MAKE) -C share/po check + tar-drakxtools: clean $(MAKE) -C ../tools clean cd .. ; rm -rf drakxtools ; cp -af perl-install drakxtools ; cp -af rpcinfo-flushed.c tools/ddcprobe tools/serial_probe drakxtools diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile index 43b32542a..753d3c309 100644 --- a/perl-install/share/po/Makefile +++ b/perl-install/share/po/Makefile @@ -38,6 +38,9 @@ install: clean: rm -f empty.po tmp.* messages tmp.pot *.mo $(POFILES:%=%t) $(PMSCFILES) +check: + @grep -F '$$' DrakX.pot && { echo "bad translation strings (contains \$$) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"; exit 1; } ||: + verif: perl -ne '/^\s*#/ or $$i += my @l = /\b__?\(/g; END { print "$$i\n" }' $(PMSFILES) perl -ne '$$i += my @l = /\.c:/g; END { print "$$i\n" }' DrakX.pot |