Makefile 1020 B

1234567891011121314151617181920212223242526272829303132333435
  1. srcdir = .
  2. BASHREF = ${srcdir}/bashref.texi
  3. BASHREF_ES = ${srcdir}/bashref.es.texi
  4. BASHREF_PO = ${srcdir}/bashref.es.po
  5. BASHREF_POT = ${srcdir}/bashref.pot
  6. HSUSER = ${srcdir}/hsuser.texi
  7. HSUSER_ES = ${srcdir}/hsuser.es.texi
  8. HSUSER_PO = ${srcdir}/hsuser.es.po
  9. HSUSER_POT = ${srcdir}/hsuser.pot
  10. RLUSER = ${srcdir}/rluser.texi
  11. RLUSER_ES = ${srcdir}/rluser.es.texi
  12. RLUSER_PO = ${srcdir}/rluser.es.po
  13. RLUSER_POT = ${srcdir}/rluser.pot
  14. pdf: texi
  15. texi2pdf $(BASHREF_ES)
  16. html: texi
  17. texi2html $(BASHREF_ES)
  18. info: texi
  19. makeinfo $(BASHREF_ES)
  20. texi:
  21. po4a-translate -k 30 -f texinfo -m $(BASHREF) -p $(BASHREF_PO) -l $(BASHREF_ES)
  22. po4a-translate -k 0 -f texinfo -m $(RLUSER) -p $(RLUSER_PO) -l $(RLUSER_ES)
  23. po4a-translate -k 0 -f texinfo -m $(HSUSER) -p $(HSUSER_PO) -l $(HSUSER_ES)
  24. sed -i -f ediciones-finales.sed $(BASHREF_ES)
  25. actualiza_pot:
  26. po4a-gettextize -f texinfo -m $(BASHREF) -p $(BASHREF_POT)
  27. po4a-gettextize -f texinfo -m $(HSUSER) -p $(HSUSER_POT)
  28. po4a-gettextize -f texinfo -m $(RLUSER) -p $(RLUSER_POT)