]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Use of V=2 was fixed and documented.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 24 Oct 2007 08:42:00 +0000 (08:42 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 24 Oct 2007 08:42:00 +0000 (08:42 +0000)
darcs-hash:20071024084245-f2ef6-e98f699251e0d1c4d1670a405b832380b8e07638.gz

doc/omk-manual.texinfo
snippets/base

index b55b6db0cf7ad82c2a809fdab942a2e81b0a85e1..32bad2a44a6297ab09bf402bd553a9860f4d93c0 100644 (file)
@@ -295,7 +295,9 @@ subdirectories. This way you can easily switch your project to use OMK.
 @anchor{V}
 @defvar V
 If this variable equals to @samp{1}, the whole command lines for all
-executed commands are displayed. Otherwise, only short messages are
+executed commands are displayed. When not set or zero, only short
+messages are printed. Value of @samp{2} displays the whole command lines
+as with @samp{1} and in addition directory navigation messages are
 printed.
 @end defvar
 
@@ -827,9 +829,29 @@ commands as you are used to do.
 @node Troubleshooting,  , Interfacing OMK to popular IDEs, OMK User's Manual
 @section Troubleshooting
 
-Renaming of some file => dependency problems.
+@itemize
+@item
+  If you rename some file or directory and then you can't compile your
+  project, call @command{make clean} in the directory with errors. The
+  reason for this behavior is that OMK remembers dependencies of every
+  file. After renaming something, the original name is still stored in
+  dependencies, but make doesn't know how to create this non-existent
+  source.
 
-Manual compilation ... V=1
+@item
+  Sometimes, you may want to compile one file the same way as OMK does
+  it, but run the compilation manually from command line. For example,
+  you want to debug some preprocessor macros and you only want to
+  produce preprocessed source instead of object file.
+
+  To compile something manually, you can run OMK with @command{make
+  V=2}. This will print all commands executed together with directory
+  navigation messages. Find the command you want to execute manually in
+  the output. To run it, you need to change the working directory to the
+  correct one in the @file{_build} tree. The correct directory can be
+  found in make output on the line @samp{Entering directory} preceding
+  the desired command.
+@end itemize
 
 @node Original README, OMK Development, OMK User's Manual, Top
 @chapter Original README
index c5e0612c87c98828dbadae480f1c1304261948c6..49d8bf6e5d4f4f4e02c9e67af1891935ef26112f 100644 (file)
@@ -97,7 +97,7 @@ endif
 ifndef OMK_VERBOSE
   OMK_VERBOSE = 0
 endif
-ifeq ($(OMK_VERBOSE),1)
+ifneq ($(OMK_VERBOSE),0)
   Q =
 else
   Q = @