mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
locale: fix ordercheck target
Origin commit data
------------------
Branch: ni/coolstream
Commit: 59e8be0b58
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-12-31 (Mon, 31 Dec 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -42,8 +42,8 @@ work-locals: $(master.locale)
|
||||
done
|
||||
|
||||
ordercheck: $(master.locale)
|
||||
cut -d' ' -f1 $(master.locale) | LC_ALL=C sort | uniq > /tmp/log
|
||||
cut -d' ' -f1 $(master.locale) | uniq | diff - /tmp/log || \
|
||||
cut -d' ' -f1 $(top_srcdir)/data/locale/$(master.locale) | LC_ALL=C sort | uniq > /tmp/log
|
||||
cut -d' ' -f1 $(top_srcdir)/data/locale/$(master.locale) | uniq | diff - /tmp/log || \
|
||||
(echo "ERROR: $(master.locale) not ordered or contains empty lines" && false)
|
||||
|
||||
locals.h: ordercheck
|
||||
@@ -61,8 +61,8 @@ check: locals.h locals_intern.h
|
||||
install-locals: $(locale) locals.h locals_intern.h
|
||||
cp locals.h locals_intern.h $(top_srcdir)/src/system
|
||||
@echo "Consider committing src/system/[locals.h locals_intern.h]"
|
||||
cp -f $(locale) $(top_srcdir)/data/locale
|
||||
@echo "Consider committing data/locale/[$(locale)]"
|
||||
## ??? cp -f $(locale) $(top_srcdir)/data/locale
|
||||
## @echo "Consider committing data/locale/[$(locale)]"
|
||||
|
||||
locals-clean:
|
||||
rm -f locals.h locals_intern.h $(locale)
|
||||
|
Reference in New Issue
Block a user