diff options
Diffstat (limited to 'academic/abntex/Makefile.diff')
-rw-r--r-- | academic/abntex/Makefile.diff | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/academic/abntex/Makefile.diff b/academic/abntex/Makefile.diff new file mode 100644 index 0000000000000..cc8f97e59110a --- /dev/null +++ b/academic/abntex/Makefile.diff @@ -0,0 +1,41 @@ +--- Makefile 2006-09-09 21:25:16.000000000 -0300 ++++ Makefile.new 2009-04-20 16:06:57.905013404 -0300 +@@ -7,14 +7,17 @@ + #altere a linha abaixo se o seu tetex não puder se detetado + #pelo comando kpsewich, na dúvida faça um "make test" + #TEXDIR= /tmp/test +-export TEXDIR= ${shell kpsewhich --expand-path='$$TEXMFMAIN'} ++export TEXDIR= ${DESTDIR}/${shell kpsewhich --expand-path='$$TEXMFMAIN'} + +-export USRLOCAL=/usr/local/bin ++export USRLOCAL=${DESTDIR}/usr/bin + + #Do "man lyx": + #The system directory is determined by searching for the + # file "chkconfig.ltx". +-export LYXDIR=${dir ${shell find /usr/share/lyx -name chkconfig.ltx}} ++export LYXDIR=${dir ${shell find /usr/share/lyx -name chkconfig.ltx}} ++ifneq (${LYXDIR},) ++export LYXDIR=${DESTDIR}/${LYXDIR} ++endif + + #diretório corrente onde se expandiu o cvs do abntex + export ABNTEXDIR=$(notdir $(shell pwd)) +@@ -119,14 +122,17 @@ + + #install e uninstall específico para tetex localizado em ${TEXDIR} + install-tex: ++ mkdir -p ${TEXDIR} + cp ${OPVR} --preserve texmf/* ${TEXDIR} + + install-lyx: + ifneq (${LYXDIR},) ++ mkdir -p ${LYXDIR} + cp ${OPVR} --preserve lyx/* ${LYXDIR} + endif + + install-bin: ++ mkdir -p ${USRLOCAL} + cp ${OPVR} --preserve bin/* ${USRLOCAL} + + post-install: |