Makefile.pre 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Generated with Aspell Dicts "proc" script version 0.50.2
  2. lang = fr
  3. version = 0.50-3
  4. cwl_files = fr-40-only.cwl fr-60-only.cwl fr-80-only.cwl fr_CH-only.cwl
  5. data_files = fr.dat fr_phonet.dat
  6. doc_files = README COPYING Copyright
  7. extra_files = configure info Makefile.pre
  8. multi_files = fr.multi fr-40.multi fr-60.multi fr-80.multi fr-lrg.alias fr-med.alias fr-sml.alias fr_CH.multi fr_CH-40.multi fr_CH-60.multi fr_CH-80.multi fr_CH-lrg.alias fr_CH-med.alias fr_CH-sml.alias fr_FR.multi fr_FR-40.multi fr_FR-60.multi fr_FR-80.multi fr_FR-lrg.alias fr_FR-med.alias fr_FR-sml.alias francais.alias francais-40.alias francais-60.alias francais-80.alias francais-lrg.alias francais-med.alias francais-sml.alias french.alias french-40.alias french-60.alias french-80.alias french-lrg.alias french-med.alias french-sml.alias suisse.alias suisse-40.alias suisse-60.alias suisse-80.alias suisse-lrg.alias suisse-med.alias suisse-sml.alias
  9. rws_files = fr-40-only.rws fr-60-only.rws fr-80-only.rws fr_CH-only.rws
  10. distdir=aspell-${lang}-${version}
  11. all: ${rws_files} ${data_files}
  12. install: all
  13. mkdir -p ${DESTDIR}${dictdir}/
  14. cp ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
  15. cd ${DESTDIR}${dictdir}/ && chmod 644 ${rws_files} ${multi_files}
  16. mkdir -p ${DESTDIR}${datadir}/
  17. cp ${data_files} ${DESTDIR}${datadir}/
  18. cd ${DESTDIR}${datadir}/ && chmod 644 ${data_files}
  19. clean:
  20. rm -f ${rws_files}
  21. uninstall:
  22. -cd ${DESTDIR}${dictdir}/ && rm ${rws_files} ${multi_files} ${link_files}
  23. -cd ${DESTDIR}${datadir}/ && rm ${data_files}
  24. dist:
  25. perl proc
  26. ./configure
  27. @make dist-nogen
  28. dist-nogen:
  29. -rm -r ${distdir}
  30. mkdir ${distdir}
  31. cp -p ${extra_files} ${cwl_files} ${multi_files} ${doc_files} ${data_files} ${distdir}/
  32. -cp -pr doc/ ${distdir}/
  33. gtar cfj ${distdir}.tar.bz2 ${distdir}/
  34. rm -r ${distdir}/
  35. distcheck:
  36. tar xfj ${distdir}.tar.bz2
  37. cd ${distdir} && ./configure && make
  38. rel:
  39. mv ${distdir}.tar.bz2 ../rel
  40. fr-40-only.rws: fr-40-only.cwl
  41. fr-60-only.rws: fr-60-only.cwl
  42. fr-80-only.rws: fr-80-only.cwl
  43. fr_CH-only.rws: fr_CH-only.cwl
  44. .SUFFIXES: .cwl .rws
  45. .cwl.rws:
  46. ${WORD_LIST_COMPRESS} d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=fr create master ./$@