Michał Górny  committed fc404d5

Update INSTALL info.

  • Participants
  • Parent commits 90b26dd

Comments (0)

Files changed (1)

 standard compilation failure with some less or more readable output.
 Use 'configure' script to determine system capabilities, configure
-the build and create the Makefile.
+the build and create the Makefile:
+	$ ./configure
-Note: this is not autotools configure script and it doesn't accept
-arguments like standard 'configure' scripts. If you want e.g. to change
-destination PREFIX, provide correct parameter to 'make install'
-as explained below.
+To get list of options that configure accepts, use:
+	$ ./configure --help
 in command-line or gathered from environment:
-If your environment is set right, you may compile it by calling:
+If your environment is set right, you can compile m2i by calling:
 	$ make
-The Makefile provides 'install' target with following variables
-for fine-tuning installation location:
+The Makefile provides an 'install' target which installs the binary
+in the appropriate directory. By default, that is '/usr/local'; you may
+fine-tune the install prefix using '--prefix' option to configure
+script. You can also install m2i into fake root using DESTDIR macro.
-mirage2iso doesn't internally depend on any of these paths (it is 100%
-location-independent) you may set them to anything. But the preferred
-solution is to use PREFIX as system-wide install prefix (like '/usr')
-and DESTDIR for fake root installs.
-To install mirage2iso into /usr/local tree just call:
+To simply install:
 	# make install
-But when creating packages you should probably instead use:
-	# make PREFIX=/usr DESTDIR="${D}" install
-where "${D}" is the fake root dir.
+If you're going to create a package you would probably use:
+	# make DESTDIR="${D}" install
+instead, where "${D}" is the fake root dir.
 * (c) 2009 Michał Górny, released under 3-clause BSD license *