Makefile.diff 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --- Makefile 2006-09-09 21:25:16.000000000 -0300
  2. +++ Makefile.new 2009-04-20 16:06:57.905013404 -0300
  3. @@ -7,14 +7,17 @@
  4. #altere a linha abaixo se o seu tetex não puder se detetado
  5. #pelo comando kpsewich, na dúvida faça um "make test"
  6. #TEXDIR= /tmp/test
  7. -export TEXDIR= ${shell kpsewhich --expand-path='$$TEXMFMAIN'}
  8. +export TEXDIR= ${DESTDIR}/${shell kpsewhich --expand-path='$$TEXMFMAIN'}
  9. -export USRLOCAL=/usr/local/bin
  10. +export USRLOCAL=${DESTDIR}/usr/bin
  11. #Do "man lyx":
  12. #The system directory is determined by searching for the
  13. # file "chkconfig.ltx".
  14. -export LYXDIR=${dir ${shell find /usr/share/lyx -name chkconfig.ltx}}
  15. +export LYXDIR=${dir ${shell find /usr/share/lyx -name chkconfig.ltx}}
  16. +ifneq (${LYXDIR},)
  17. +export LYXDIR:=${DESTDIR}/${LYXDIR}
  18. +endif
  19. #diretório corrente onde se expandiu o cvs do abntex
  20. export ABNTEXDIR=$(notdir $(shell pwd))
  21. @@ -119,14 +122,17 @@
  22. #install e uninstall específico para tetex localizado em ${TEXDIR}
  23. install-tex:
  24. + mkdir -p ${TEXDIR}
  25. cp ${OPVR} --preserve texmf/* ${TEXDIR}
  26. install-lyx:
  27. ifneq (${LYXDIR},)
  28. + mkdir -p ${LYXDIR}
  29. cp ${OPVR} --preserve lyx/* ${LYXDIR}
  30. endif
  31. install-bin:
  32. + mkdir -p ${USRLOCAL}
  33. cp ${OPVR} --preserve bin/* ${USRLOCAL}
  34. post-install: