jQuery RSS/ATOM feed parser plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
789 B

  1. SRC_DIR = src
  2. BUILD_DIR = build
  3. JS_FILES = ${SRC_DIR}/jfeed.js\
  4. ${SRC_DIR}/jfeeditem.js\
  5. ${SRC_DIR}/jatom.js\
  6. ${SRC_DIR}/jrss.js
  7. WE = ${BUILD_DIR}/dist/jquery.jfeed.js
  8. WE_PACK = ${BUILD_DIR}/dist/jquery.jfeed.pack.js
  9. WE_ARCH = ../jquery.jfeed.tar.gz
  10. MERGE = sed -s -e '1 s/^\xEF\xBB\xBF//' ${JS_FILES} > ${WE}
  11. PACKER = perl -I${BUILD_DIR}/packer ${BUILD_DIR}/packer/jsPacker.pl -i ${WE} -o ${WE_PACK} -e62
  12. all: archive
  13. jfeed:
  14. @@echo "Building" ${WE}
  15. @@echo " - Merging files"
  16. @@${MERGE}
  17. @@echo ${WE} "Built"
  18. @@echo
  19. pack: jfeed
  20. @@echo "Building" ${WE_PACK}
  21. @@echo " - Compressing using Packer"
  22. @@${PACKER}
  23. @@echo ${WE_PACK} "Built"
  24. @@echo
  25. archive: pack
  26. @@echo "Building" ${WE_ARCH}
  27. @@echo " - Creating archive"
  28. @@tar -C .. -czf ${WE_ARCH} --exclude '.git' jFeed