diff options
author | John Kacur <jkacur@redhat.com> | 2010-03-25 05:20:22 -0400 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2010-03-25 05:20:22 -0400 |
commit | a9e456b9883559dbef81f2c4fe17a5ebc302441b (patch) | |
tree | 2e10cf74460b3578f76b02e4cfb940310064701c | |
parent | 8e5160b3dba15d8e4096ad7a5c7d1a98e77d224b (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-- | Makefile | 6 | ||||
-rw-r--r-- | README | 26 |
2 files changed, 29 insertions, 3 deletions
@@ -373,10 +373,10 @@ ifneq ($(dep_includes),) | |||
373 | endif | 373 | endif |
374 | 374 | ||
375 | show_gui_make: | 375 | show_gui_make: |
376 | @echo "*** to build the gui, type \"make gui\" ***" | 376 | @echo "Note: to build the gui, type \"make gui\"" |
377 | 377 | ||
378 | show_gui_done: | 378 | show_gui_done: |
379 | @echo "*** gui build complete ***" | 379 | @echo "gui build complete" |
380 | 380 | ||
381 | PHONY += show_gui_make | 381 | PHONY += 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 | ||
399 | install: install_cmd | 399 | install: 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 | ||
402 | install_gui: install_cmd gui | 402 | install_gui: install_cmd gui |
403 | $(INSTALL) -d -m 755 '$(bindir_SQ)' | 403 | $(INSTALL) -d -m 755 '$(bindir_SQ)' |
@@ -9,3 +9,29 @@ These files also make up the code to create the libraries | |||
9 | The applications are licensed under the GNU General Public License 2.0 | 9 | The 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 |
11 | Lesser General Public License 2.1 (See COPYING.LIB). | 11 | Lesser General Public License 2.1 (See COPYING.LIB). |
12 | |||
13 | BUILDING: | ||
14 | |||
15 | To make trace-cmd | ||
16 | make | ||
17 | |||
18 | To make the gui | ||
19 | make gui | ||
20 | |||
21 | INSTALL: | ||
22 | |||
23 | To install trace-cmd | ||
24 | make install | ||
25 | |||
26 | To install the gui | ||
27 | make install_gui | ||
28 | |||
29 | Note: 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 | |||
33 | To change the default, you can set 'prefix', eg | ||
34 | mkdir $HOME/test-trace | ||
35 | make prefix=$HOME/test-trace | ||
36 | make prefix=$HOME/test-trace install | ||
37 | |||