Use checkinstall.
One of the best tools for creating packages for testing and deployment purpose. makes life a lot simple.
check the homepage http://asic-linux.com.mx/~izto/checkinstall/
One of the best tools for creating packages for testing and deployment purpose. makes life a lot simple.
check the homepage http://asic-linux.com.mx/~izto/checkinstall/