summaryrefslogtreecommitdiff
path: root/subdir_makefile/Makefile
blob: ccf88c5454b09171579885cc16ce32e7b8624a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- make -*-

# Default value so one can compile this standalone
TOPDIR ?= ..
include ./local.mk
include $(TOPDIR)/common.mk
dest_dir = $(DESTDIR)$(PREFIX)/$(PACKAGE_DIR)

include $(MAKEINCLUDE_DIR)/t2t.mk
include $(MAKEINCLUDE_DIR)/pandoc.mk
include $(MAKEINCLUDE_DIR)/rem.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
include $(MAKEINCLUDE_DIR)/dest_dirs.mk


.DEFAULT_GOAL := all
.PHONY: all compile clean real_clean install subdirs

all: compile install

compile: subdirs $(REQUIRED_TARGETS)

clean: subdirs $(CLEAN_TARGETS)
	
real_clean: subdirs clean $(REAL_CLEAN_TARGETS)

install: subdirs $(INSTALL_TARGETS)