aboutsummaryrefslogtreecommitdiff
path: root/abstractions/Makefile.dirs
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-16 04:55:21 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-16 04:55:21 +0000
commit3632011ec8ec4cc4ee6332a9ce5dfed2ff3cde99 (patch)
treee05750f4a3e95447847180a14df32903394d4dbb /abstractions/Makefile.dirs
parenteb0c9ad52d7202db13804a108a61556b83789028 (diff)
added gyre, nusmuk; started adding rradical; make shared Makefile.dirs file which has all of the common targets and locations
svn path=/trunk/; revision=3930
Diffstat (limited to 'abstractions/Makefile.dirs')
-rw-r--r--abstractions/Makefile.dirs35
1 files changed, 35 insertions, 0 deletions
diff --git a/abstractions/Makefile.dirs b/abstractions/Makefile.dirs
new file mode 100644
index 00000000..9dc451bf
--- /dev/null
+++ b/abstractions/Makefile.dirs
@@ -0,0 +1,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)