D7DIR=0
J5PACK=0
WP5PACK=0
+PATCHPACK=0
SK5PACK=0
L10NPACK=0
REPOREPORT=0
echo " d7_dir - generate Drupal7 PHP5 module, but output to a directory, no tarball"
echo " Joomla|j5 - generate Joomla PHP5 module"
echo " WordPress|wp5 - generate Wordpress PHP5 module"
+ echo " patchset - generate a tarball with patch files"
echo " sk - generate Drupal StarterKit module"
echo
echo "You also need to have distmaker.conf file in place."
WP5PACK=1
;;
+ ## PATCHSET export
+ patchset)
+ echo; echo "Generating patchset"; echo;
+ PATCHPACK=1
+ ;;
+
# REPO REPORT PHP5
report)
echo; echo "Generating repo report module"; echo;
D56PACK=1
J5PACK=1
WP5PACK=1
+ PATCHPACK=1
SKPACK=1
L10NPACK=1
REPOREPORT=1
bash $P/dists/wordpress_php5.sh
fi
+if [ "$PATCHPACK" = 1 ]; then
+ echo; echo "Packaging for patchset tarball"; echo;
+ bash $P/dists/patchset.sh
+fi
+
if [ "$REPOREPORT" = 1 ]; then
echo; echo "Preparing repository report"; echo;
env \