summaryrefslogtreecommitdiff
path: root/pic_sources.mk
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-01-15 22:00:50 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2014-01-15 22:02:13 -0500
commitc5b79fc8b83f298da56e2f24b830babc1ce2e514 (patch)
treef9e40659607137b071c34e6d516f67be4dd7d260 /pic_sources.mk
parent1ea23bda1842020eed05dadcd71ed744e1d64454 (diff)
downloadmakefile_templates-c5b79fc8b83f298da56e2f24b830babc1ce2e514.tar.gz
makefile_templates-c5b79fc8b83f298da56e2f24b830babc1ce2e514.zip
added some helper make file for svg and raw pdf sources
Diffstat (limited to 'pic_sources.mk')
-rw-r--r--pic_sources.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/pic_sources.mk b/pic_sources.mk
new file mode 100644
index 0000000..da23718
--- /dev/null
+++ b/pic_sources.mk
@@ -0,0 +1,23 @@
+# -*- make -*-
+
+TOPDIR ?= ../../..
+pics_destdir ?= ../../pics
+MAKEINCLUDE_DIR ?= $(TOPDIR)/makefile_templates
+
+# sources_dirs = pics_pdf_compatible pics_svg_sources plots
+sources_dirs = pics_pdf_compatible
+
+compile_pics_in_sources_dirs: $(sources_dirs)
+
+# $(sources_dirs)/Makefile:
+ # echo no $@
+
+pics_pdf_compatible: pics_pdf_compatible/Makefile
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+
+pics_pdf_compatible/Makefile:
+ ln -s $(MAKEINCLUDE_DIR)/pic_pdf_compatible.mk $@
+
+
+.PHONY: $(sources_dirs)