createpackage.sh 357 B

123456789101112131415
  1. #!/bin/bash
  2. echo "Bundling for $1"
  3. mkdir -p ../dist/libjson-rpc-cpp
  4. mkdir -p ../dist/libjson-rpc-cpp/doc
  5. cd ../doc
  6. doxygen libjson-rpc-cpp.doxyfile
  7. mv html/* ../dist/libjson-rpc-cpp/doc
  8. #cmake -DCMAKE_INSTALL_PREFIX=../dist/libjson-rpc-cpp
  9. #make install
  10. #cd ../dist
  11. zip -r libjson-rpc-cpp-$1.zip libjson-rpc-cpp
  12. rm -r libjson-rpc-cpp
  13. cd ../dev