auto-multiple-choice-1.2-makefiles.patch

patch pour les Makefiles - Pierre-Olivier Vallès, 09/16/2014 10:19 am

Download (1.4 kB)

 
b/Makefile.conf Mon Sep 15 14:26:19 2014 +0000
33 33
# directory for executable
34 34
BINDIR=/usr/bin
35 35
# directory for perl modules
36
PERLDIR=/usr/share/perl5
36
PERLDIR=/usr/local/lib64/perl5
37 37
# directory for some AMC executables, not to be used by end-user
38 38
MODSDIR=/usr/lib/AMC
39 39
# directory for LaTeX style file
......
73 73

  
74 74
# BUILD : options to compile with netpbm / opencv libraries
75 75

  
76
GCC_NETPBM=-lnetpbm
76
GCC_NETPBM=-I/usr/include/netpbm/ -lnetpbm
77 77

  
78 78
GCC_OPENCV=-I /usr/include/opencv
79 79
GCC_OPENCV_LIBS=auto
b/doc/Makefile Mon Sep 15 14:26:19 2014 +0000
37 37
	rm -f modeles/**/*.tgz
38 38
	rm -f html/auto-multiple-choice.**/*.html
39 39
	rm -f html/images/callouts/*.png html/images/*.png
40
	rm -f html/index.html 
40 41
	rm -f *~
41 42

  
42 43
html/images/callouts/%.png: img_src/callouts/%.svg
b/doc/sty/Makefile Mon Sep 15 14:26:19 2014 +0000
22 22
PACK=automultiplechoice
23 23

  
24 24
all: FORCE
25
	sed -i s?'@/PACKAGE_V_DEB/@'?1.2.1-gentoo?g $(PACK).dtx
26
	sed -i s?'@/PACKAGE_V_SVN/@'?1.2.1-hg?g $(PACK).dtx
27
	grep '1\.2\.1' $(PACK).dtx
25 28
	pdflatex $(PACK).dtx
26 29
	pdflatex sample-amc.tex
27 30
	pdflatex sample-separate.tex