aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2007-06-27 02:58:56 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2007-06-27 02:58:56 +0000
commit0e9184cde6f3d1a0046c706051a4bd4b36a6aede (patch)
treef4ac79c282481f25f14efa9b7d85dce6001832c5 /INSTALL
parent1f7410c00c57dcc2c6b0d64a33431e2298a7c87b (diff)
downloadsg3_utils-0e9184cde6f3d1a0046c706051a4bd4b36a6aede.tar.gz
Load sg3_utils-1.07 into trunk/.
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@39 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL25
1 files changed, 24 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 49907a37..b5eb11da 100644
--- a/INSTALL
+++ b/INSTALL
@@ -2,4 +2,27 @@ make
make install
Unless overridden or edited in the Makefile, INSTDIR places the executables
-in /usr/local/bin while MANDIR places the man pages in /usr/local/man .
+in the /usr/local/bin directory while MANDIR places the man pages in the
+/usr/local/man directory.
+
+Other Makefile targets that might be useful:
+make clean # remove .o, executables, core and .depend file
+make depend # generate dependency hierarchy in .depend file
+make dep # same as 'make depend'
+make sg_scan # build a specific executable (e.g. 'sg_scan')
+make uninstall
+
+Note that the main Makefile does _not_ call the Makefiles in the
+subdirectories (i.e. archive, examples and utils directories).
+
+
+A "spec" file is included for building rpm packages. Place a copy of
+the tarball in the "SOURCES" directory and place a copy of sg3_utils.spec
+in the "SPEC" directory. Then from the "SPEC" directory execute
+"rpmbuild -ba sg3_utils.spec". If all goes well a source rpm should be
+found in the SRPMS directory and a binary rpm in the RPMS/i386 directory
+(for i386 architecture). Note the spec file will only build those utilities
+in the main directory. When the binary rpm is installed the executables
+and their associated man pages should be placed in appropriate places.
+
+10th December 2003