aboutsummaryrefslogtreecommitdiff
path: root/abstractions/Makefile.dirs
blob: 9dc451bf61ceac560a8ad2650efdd697a4c73431 (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
33
34
35
#
# $(INSTALL_PREFIX) and $(SRC_ROOT_DIR) are set in Makefile

# base
DOCS_BASE = $(INSTALL_PREFIX)/doc

# sources
ABSTRACTIONS_SRC = $(SRC_ROOT_DIR)/abstractions
DOCS_SRC = $(SRC_ROOT_DIR)/doc
EXTERNALS_SRC = $(SRC_ROOT_DIR)/externals

# destinations
APPLICATIONS_DST = $(DOCS_BASE)/examples
OBJECTS_DST = $(INSTALL_PREFIX)/extra
DOCS_DST = $(DOCS_BASE)/5.reference
MANUALS_DST = $(DOCS_BASE)/manuals

#------------------------------------------------------------------------------#
# DIRECTORY STRUCTURE TARGETS
#------------------------------------------------------------------------------#
# first make sure that the directory structure is setup
$(INSTALL_PREFIX):
	install -d $(INSTALL_PREFIX)

$(APPLICATIONS_DST):  $(INSTALL_PREFIX)
	install -d $(APPLICATIONS_DST)

$(OBJECTS_DST): $(INSTALL_PREFIX)
	install -d $(OBJECTS_DST)

$(DOCS_DST): $(INSTALL_PREFIX)
	install -d $(DOCS_DST)

$(MANUALS_DST): $(INSTALL_PREFIX)
	install -d $(MANUALS_DST)