Diff of /INSTALL_cmake [4ded8c] .. [fa093e]  Maximize  Restore

Switch to side-by-side view

--- a/INSTALL_cmake
+++ b/INSTALL_cmake
@@ -9,20 +9,28 @@
 
 briefly, do the following:
 
-cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
-make
-make install
-
-alternatively, you can also do an out of source build, if
-you don't want to clutter the hugin source tree with object files etc.
-
 $ cd hugin
 $ mkdir mybuild
 $ cd mybuild
-$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../
-$ make
-$ make install
 
+for a Debian package use
+$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCPACK_BINARY_DEB:BOOL=ON ../
+or for a rpm package
+$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCPACK_BINARY_RPM:BOOL=ON ../
+
+Build the package
+$ make package
+and install the package with your package manager
+
+If using Fedora's rpmbuild to build an rpm package, the recommended procedure 
+is similar to the above.
+$ cd hugin
+$ mkdir mybuild
+$ cd mybuild
+$ cmake ..
+$ make package_source
+copy, or move the selected source archive (.bz2 or .gz) from your mybuild dir to your rpmbuild
+SOURCE dir, generate or edit your .spec file, and build your package.
 
 Please report any problems to the hugin-ptx group at google:
 http://groups.google.com/group/hugin-ptx
@@ -58,6 +66,7 @@
                       Setting to 64 results in: $CMAKE_INSTALL_PREFIX/lib64
 HUGIN_SHARED          set to 0 to disable build shared libraries for internal
                       functions. (Unix and OSX, Windows is always statically linked)
+BUILD_HSI             Set to on to build with Python scripting support         
 
 MAC_SELF_CONTAINED_BUNDLE=1 Configures hugin for a fully bundled version, where
                       all required programs (nona, enblend, HuginStitchProject,