#
# Could use ./install.sh, but then we wouldn't get
# the protection of install_config_file
#
mkdir  -p  $INSTALL_ROOT/usr/share/hibernate                            &&
install  -o root  -g root  -m 0755  hibernate.sh                        \
         $INSTALL_ROOT/usr/sbin/hibernate                               &&
install_config_file  hibernate.conf                                     \
                     $INSTALL_ROOT/etc/hibernate/hibernate.conf         &&
install_config_file  blacklisted-modules                                \
                     $INSTALL_ROOT/etc/hibernate/blacklisted-modules    &&
install_config_file  ram.conf                                           \
                     $INSTALL_ROOT/etc/hibernate/ram.conf               &&
cp  -r  hibernate.vim  scriptlets.d  $INSTALL_ROOT/usr/share/hibernate  &&
cp  hibernate.8  $INSTALL_ROOT/usr/share/man/man8                       &&
cp  hibernate.conf.5  $INSTALL_ROOT/usr/share/man/man5
