Branch: Tag:

2018-01-02

2018-01-02 11:19:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Locale: Use proper dependencies in the Makefile.

Ensure that the productions in the locale Makefile are
executed in the correct order by using dependencies.

4:   LANG=C      # do not alter - all: modules xmls translations + all: translations      modules:    @echo "1. Finding modules"
29:    fi ; \    done    - xmls: + xmls: modules    @echo "2. Rebuilding .xml config files"    @for a in configs/*.xml ; do \    pkg=`echo $$a | sed -e s',\.xml,,' -e s',.*/,,'`; \    ./scripts/make_config $$pkg configs/$$pkg.xml ; \    done    - translations: + translations: xmls    @echo "3. Rebuilding translation files"    @for a in configs/*.xml ; do \    pkg=`echo $$a | sed -e s',\.xml,,' -e s',.*/,,'`; \