see CHANGELOG 2004-04-23
[hdw-linux/hdw-linux.git] / scripts / Helper
index 294efa9..048ed14 100755 (executable)
 
 ccl=0
 cdf=0
+rtd=0
+bd=0
 
 while [ "$1" ] ; do
        case "$1" in
                -create_cvs_list)       ccl=1;  shift 1 ;;
                -create_dist_files)     cdf=1;  shift 1 ;;
+               -create_runtimedeps)    rtd=1;  shift 1 ;;
+               -create_build_deps)     bd=1;   shift 1 ;;
                *)
                        echo
                        echo "usage:"
                        echo
                        echo "$0 -create_cvs_list"
                        echo "$0 -create_dist_files"
+                       echo "$0 -create_runtimedeps"
+                       echo "$0 -create_build_deps"
                        echo
                        exit 1 ;;
        esac
 done
 
+if [ "$rtd" = "1" ] ; then
+       echo "# hdw packages + run time dependencies"
+       echo "#"
+       echo "# created `date`"
+       echo
+       for i in /var/adm/deps/run/*; do
+               echo -en $i | sed 's$/var/adm/deps/run/$$'
+               echo -en " - "
+               for j in `cat $i`; do
+                       echo -en "$j "
+               done
+               echo -en "\n"
+       done
+fi
 
 if [ "$ccl" = "1" ] ; then
        for i in download/*/PKGS; do