1c4989d51SXin LI 1. Download latest less(1) tarball. The homepage of less(1) is at: 2c4989d51SXin LI http://www.greenwoodsoftware.com/less/ 37374caaaSXin LI 2. Checkout $FSVN/vendor/less/ into less/ 47374caaaSXin LI 3. Extract new code to, say, less/lessv429 57374caaaSXin LI 4. cd less/dist 67374caaaSXin LI 5. svn list -R | grep -v '/$' | sort >../old 77374caaaSXin LI 6. cd ../lessv429 87374caaaSXin LI 7. find . -type f | cut -c 3- | sort >../new 97374caaaSXin LI 8. tar cf - . | tar xf - -C ../dist 107374caaaSXin LI 9. cd ../dist 117374caaaSXin LI10. comm -23 ../old ../new | xargs svn rm 127374caaaSXin LI11. comm -13 ../old ../new | xargs svn add 137374caaaSXin LI12. Check svn status output and make sure that all changes are appropriate. 147374caaaSXin LI13. Commit and tag the result. 157374caaaSXin LI14. Resolve any conflicts that happen in head/contrib/less. 167374caaaSXin LI15. Regenerate defines.h: 17c4989d51SXin LI ./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin \ 18c4989d51SXin LI --libexecdir=/usr/libexec --datarootdir=/usr/share 197374caaaSXin LI16. Manually merge changes into src/usr.bin/less/defines.h; adjust 20c4989d51SXin LI Makefile glue to reflect added/removed files. 217374caaaSXin LI17. Replace your src/contrib/less with the merged copy, and do a ``make 22c4989d51SXin LI universe'' to make sure that nothing was broken; 237374caaaSXin LI18. Commit the result. 24c4989d51SXin LI 257374caaaSXin LIdelphij@FreeBSD.org - May 08, 2009 26