commit 37014e81d9c0000ce9f909ae353c0df300ec12c8 parent 7b5db21736bbbbfc2044b36615006661d3547572 Auteur: Selve <selve@asteride.xyz> Date: Fri, 5 Apr 2024 18:01:34 -0400 installation des traductions des pages du manuel Diffstat:
M | Makefile | | | 15 | ++++++++++----- |
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -19,6 +19,8 @@ LDOPTS = -L${LIB_DOS} FCH_PO != find ${DOS_PO} -name '*.po' FCH_MO != find ${DOS_PO} -name '*.po' | sed 's/\.po$$/\.mo/' +LANG_MAN != ls "${DOS_MAN}" + .SUFFIXES: .c .o .po .mo .c.o: ${CC} ${COPTS} ${CPPOPTS} -c "$<" @@ -58,11 +60,14 @@ inst_trad: done inst_man: - mkdir -p ${MAN_DOS}/fr/man1 - cp "${DOS_MAN}/fr/aplat.1" "${MAN_DOS}/fr/man1" - mkdir -p ${MAN_DOS}/fr/man5 - cp "${DOS_MAN}/fr/aplat.5" "${MAN_DOS}/fr/man5" - cp "${DOS_MAN}/fr/plat.5" "${MAN_DOS}/fr/man5" + for L in ${LANG_MAN} ; \ + do \ + mkdir -p ${MAN_DOS}/$$L/man1 ; \ + cp "${DOS_MAN}/$$L/aplat.1" "${MAN_DOS}/$$L/man1" ; \ + mkdir -p ${MAN_DOS}/$$L/man5 ; \ + cp "${DOS_MAN}/$$L/aplat.5" "${MAN_DOS}/$$L/man5" ; \ + cp "${DOS_MAN}/$$L/plat.5" "${MAN_DOS}/$$L/man5" ; \ + done install: all inst_aplat inst_trad inst_man