# Applying patches (if any)
apply_patches ${1} &&
-# Saves CFLAGS and CXXFLAGS, and clears them.
-save_flags_no_optimizations &&
-
olddir=$(pwd) &&
cd ${LFS_TMP}/${1}-build &&
make install &&
ldconfig &&
-# Restore original CFLAGS and CXXFLAGS values.
-restore_flags &&
-
cat > /etc/skel/.emacs << "EOF" &&
;; ~/.emacs
(setq compilation-scroll-output t)
EOF
-# This is to remove a warning in WindowMaker when emacs is started.
-cp ${olddir}/resources/ColorGNU.xpm /usr/share/pixmaps &&
-chmod 644 /usr/share/pixmaps/ColorGNU.xpm
-
# Return last error
exit $?