summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-02-22 14:47:16 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-02-22 14:47:16 +0100
commit74423fa10229a3f806d64880b4ba058f8194ae59 (patch)
tree61040b0ff3787a741a88e4e27610332d51531491 /Makefile
parentbcf9120d9815b1e2aa9caf0939a080f0ea355c31 (diff)
downloadmerchant-frontend-examples-74423fa10229a3f806d64880b4ba058f8194ae59.tar.gz
merchant-frontend-examples-74423fa10229a3f806d64880b4ba058f8194ae59.tar.bz2
merchant-frontend-examples-74423fa10229a3f806d64880b4ba058f8194ae59.zip
python tutorial compiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d3a8693..9b62776 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,16 @@
.PHONY: graphics
-SUBDIRS := php
+SUBDIRS := php/doc python/doc
all: $(SUBDIRS)
$(SUBDIRS): graphics
- cp -t $@/doc graphics/arch.png
- cd $@/doc/; texi2pdf tutorial.texi
- cd $@/doc/; zip samples.zip ../*.$@
+ cp -t $@ common/graphics/arch.png
+ $(MAKE) -C $@
graphics:
- cd graphics; dot -Tpng arch.dot > arch.png
+ cd common/graphics; dot -Tpdf arch.dot > arch.pdf
+ cd common/graphics; dot -Tpdf arch_nobo.dot > arch_nobo.pdf
+ cd common/graphics; dot -Tjpg arch.dot > arch.jpg
+ cd common/graphics; dot -Tjpg arch_nobo.dot > arch_nobo.jpg