diff options
Diffstat (limited to '')
-rw-r--r-- | v2/Makefile | 2 | ||||
-rwxr-xr-x | v2/src/bin/dyn-po4a (renamed from v2/aux/po4a-cfg.sh) | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/v2/Makefile b/v2/Makefile index 1fa6050..f98c9ef 100644 --- a/v2/Makefile +++ b/v2/Makefile @@ -12,7 +12,7 @@ generated.mk: ALWAYS makemake > generated.mk po/po4a.cfg: ALWAYS - sh aux/po4a-cfg.sh < po/i18n.mappings | ifnew $@ + dyn-po4a < po/i18n.mappings | ifnew $@ po4a $@ ALWAYS: diff --git a/v2/aux/po4a-cfg.sh b/v2/src/bin/dyn-po4a index 384b2fb..9dde6d1 100755 --- a/v2/aux/po4a-cfg.sh +++ b/v2/src/bin/dyn-po4a @@ -4,8 +4,8 @@ set -eu usage() { cat <<-'EOF' Usage: - aux/po4a-cfg.sh > po/po4a.cfg - aux/po4a-cfg.sh -h + dyn-po4a > po/po4a.cfg + dyn-po4a -h EOF } @@ -29,14 +29,14 @@ help() { $ mkdir po $ touch po/pt.po $ touch po/"$(basename "$PWD")".pot - $ aux/po4a-cfg.sh > po/po4a.cfg + $ dyn-po4a > po/po4a.cfg $ po4a po/po4a.cfg Conditionally update the configuration in a Makefile: po/po4a.cfg: ALWAYS - @sh aux/po4a-cfg.sh | ifnew $@ + dyn-po4a | ifnew $@ po4a $@ EOF } @@ -72,7 +72,7 @@ while getopts 'h' flag; do done shift $((OPTIND - 1)) -. aux/lib.sh +. src/lib.sh guess_type() { |