summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-01-27 00:14:24 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2014-01-27 00:14:24 -0500
commiteca5db15b966e9c3c572f6133632d19db49d639c (patch)
tree4dafbb9fdbdcd83f040c0849fc21aa60e5191172
parentac17b63aaa4d41523ccdc7d59e5d878fe09cde50 (diff)
downloadmakefile_templates-eca5db15b966e9c3c572f6133632d19db49d639c.tar.gz
makefile_templates-eca5db15b966e9c3c572f6133632d19db49d639c.zip
put back removed ordinary subdir makefile
-rw-r--r--subdir_makefile/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/subdir_makefile/Makefile b/subdir_makefile/Makefile
new file mode 100644
index 0000000..6e5933f
--- /dev/null
+++ b/subdir_makefile/Makefile
@@ -0,0 +1,28 @@
+# -*- make -*-
+
+# Default value so one can compile this standalone
+TOPDIR ?= ..
+include ./local.mk
+include $(TOPDIR)/common.mk
+include $(MAKEINCLUDE_DIR)/t2t.mk
+include $(MAKEINCLUDE_DIR)/beamer_lecture.mk
+include $(MAKEINCLUDE_DIR)/tex.mk
+include $(MAKEINCLUDE_DIR)/css.mk
+include $(MAKEINCLUDE_DIR)/raw.mk
+include $(MAKEINCLUDE_DIR)/subdirs.mk
+
+
+dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR)
+
+.DEFAULT_GOAL := all
+
+all: compile install
+
+compile: subdirs $(REQUIRED_TARGETS)
+
+clean: subdirs $(CLEAN_TARGETS)
+
+real_clean: subdirs clean $(REAL_CLEAN_TARGETS)
+
+install: subdirs $(INSTALL_TARGETS)
+