aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2010-03-25 05:20:22 -0400
committerJohn Kacur <jkacur@redhat.com>2010-03-25 05:20:22 -0400
commita9e456b9883559dbef81f2c4fe17a5ebc302441b (patch)
tree2e10cf74460b3578f76b02e4cfb940310064701c
parent8e5160b3dba15d8e4096ad7a5c7d1a98e77d224b (diff)
trace-cmd: Add BUILDING and INSTALL instructions to README
- Add BUILDING and INSTALL instructions to the README - Change Makefile so that messages don't appear like errors. Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--Makefile6
-rw-r--r--README26
2 files changed, 29 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8a3f25c..04fe380 100644
--- a/Makefile
+++ b/Makefile
@@ -373,10 +373,10 @@ ifneq ($(dep_includes),)
373endif 373endif
374 374
375show_gui_make: 375show_gui_make:
376 @echo "*** to build the gui, type \"make gui\" ***" 376 @echo "Note: to build the gui, type \"make gui\""
377 377
378show_gui_done: 378show_gui_done:
379 @echo "*** gui build complete ***" 379 @echo "gui build complete"
380 380
381PHONY += show_gui_make 381PHONY += show_gui_make
382 382
@@ -397,7 +397,7 @@ install_cmd: all_cmd install_plugins
397 $(INSTALL) trace-cmd '$(bindir_SQ)' 397 $(INSTALL) trace-cmd '$(bindir_SQ)'
398 398
399install: install_cmd 399install: install_cmd
400 @echo "*** to install the gui, type \"make install_gui\" ***" 400 @echo "Note: to install the gui, type \"make install_gui\""
401 401
402install_gui: install_cmd gui 402install_gui: install_cmd gui
403 $(INSTALL) -d -m 755 '$(bindir_SQ)' 403 $(INSTALL) -d -m 755 '$(bindir_SQ)'
diff --git a/README b/README
index 7ac4390..d191197 100644
--- a/README
+++ b/README
@@ -9,3 +9,29 @@ These files also make up the code to create the libraries
9The applications are licensed under the GNU General Public License 2.0 9The applications are licensed under the GNU General Public License 2.0
10(see COPYING) and the libraries are licensed under the GNU 10(see COPYING) and the libraries are licensed under the GNU
11Lesser General Public License 2.1 (See COPYING.LIB). 11Lesser General Public License 2.1 (See COPYING.LIB).
12
13BUILDING:
14
15To make trace-cmd
16 make
17
18To make the gui
19 make gui
20
21INSTALL:
22
23To install trace-cmd
24 make install
25
26To install the gui
27 make install_gui
28
29Note: The default install is relative to /usr/local
30 The default install directory is /usr/local/bin
31 The default plugin directory is /usr/local/share/trace-cmd/plugins
32
33To change the default, you can set 'prefix', eg
34mkdir $HOME/test-trace
35make prefix=$HOME/test-trace
36make prefix=$HOME/test-trace install
37