Salut à tous,
Pour rappeler une commande dans un makefile il faut mettre :
make nom_commande?
J'ai fait ça dans mon makefile
eps2pdf:
rm -f $(GRAPHICSPATH)/*.pdf
@for eps in $(GRAPHICSPATH)/*.eps ;\
do \
epstopdf $$eps ;\
done
Puis, plus loin dans le fichier (pour générer un document pdf à partir
des sources LaTeX):
pdf:
make eps2pdf
pdflatex $(NOM_CIBLE)
makeindex $(BASE_NOM).idx
bibtex $(BASE_NOM)
pdflatex $(NOM_CIBLE)
pdflatex $(NOM_CIBLE)
Ca marche puisque c'est une commande bash qui est appelée.
Mais est-ce bien comme ça qu'on fait?
Désolé si ça paraît bête mais je n'ai pas bien compris ce point en lisant
la doc. ;)
Merci d'avance.
--
Benoît
_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://lists.unixtech.be/cgi-bin/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[email protected]
IRC: chat.unixtech.be:6667 - #unixtech
NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech