rm -rf u8glib
mkdir u8glib
mkdir u8glib/src
mkdir u8glib/examples
mkdir u8glib/examples/hello_world
#cp Makefile u8glib/examples/hello_world
mkdir u8glib/examples/graphics_test
#cp Makefile u8glib/examples/graphics_test
mkdir u8glib/examples/menu
#cp Makefile u8glib/examples/menu
mkdir u8glib/examples/u8g_logo
#cp Makefile u8glib/examples/u8g_logo

cp ../../../ChangeLog ./u8glib/.
cp ../../../license.txt ./u8glib/.
cp INSTALL.TXT ./u8glib/.

cp ../../../csrc/*.c ./u8glib/src/.
cp ../../../csrc/*.h ./u8glib/src/.
cp ../../../fntsrc/*.c ./u8glib/src/.
cp ../../../sys/atmega/hello_world/*.c ./u8glib/examples/hello_world/.
cp ../../../sys/atmega/graphics_test/*.c ./u8glib/examples/graphics_test/.
cp ../../../sys/atmega/menu/*.c ./u8glib/examples/menu/.
cp ../../../sys/atmega/u8g_logo/*.c ./u8glib/examples/u8g_logo/.


chmod -R og=u u8glib
zip -r u8glib_pic18_`../print_release.sh`.zip u8glib
#cd u8glib 
#zip -r ../u8glib_avr_`../../print_release.sh`.zip *
#cd ..