]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Documented srcdir variable
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 11 Mar 2008 16:57:00 +0000 (16:57 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 11 Mar 2008 16:57:00 +0000 (16:57 +0000)
darcs-hash:20080311165731-f2ef6-e3f272dfdef617a7ad41f17b53e30818aab3b4e5.gz

doc/omk-manual.texinfo
snippets/base

index c40751f21a3353e86449772ff32d4207fc38d475..db8e9e85b3673bfadde054f425f2c4b6b0afa0bf 100644 (file)
@@ -792,6 +792,7 @@ locally in some @file{Makefile.omk}. In the latter case, it influences
 only subdirectories of the directory containing @file{Makefile.omk}.
 @end defvar
 
+@anchor{SOURCES_DIR}
 @defvar{SOURCES_DIR}
 This variable is set internally by OMK and its value is the absolute
 path to the directory with compiled sources. It can be used if you need
@@ -804,6 +805,10 @@ include_HEADERS = $(notdir $(wildcard $(SOURCES_DIR)/*.h))
 @end example
 @end defvar
 
+@defvar{srcdir}
+The same as @ref{SOURCES_DIR}. Provided for Automake compatibility.
+@end defvar
+
 @defvar{MAKERULES_DIR}
 This variable is set internally by OMK and its value is the absolute
 path to the directory containing @file{Makefile.rules} currently used
index a35d9fde589bd9a321d1c03f2099778377b84239..0d73538f4843121f2250cfe333488635c7745094 100644 (file)
@@ -101,6 +101,7 @@ override RELATIVE_PREFIX := $(RELATIVE_PREFIX:/%=%)
 #vpath %.cc $(SOURCES_DIR)
 #vpath %.cxx $(SOURCES_DIR)
 
+# Define srcdir for Automake compatibility
 srcdir = $(SOURCES_DIR)
 
 # Defines for quiet compilation