X-Git-Url: http://nitlanguage.org diff --git a/contrib/neo_doxygen/gen-all.sh b/contrib/neo_doxygen/gen-all.sh index be5ff21..4a19e9a 100755 --- a/contrib/neo_doxygen/gen-all.sh +++ b/contrib/neo_doxygen/gen-all.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# ./gen-all.sh directory +# ./gen-all.sh # # Document all projects in the specified directory. # @@ -23,14 +23,11 @@ # Also, every project must include the Doxygen XML output in its `doxygen/xml` # directory. -NEO_DOXYGEN="${PWD}/bin/neo_doxygen" -NX="${PWD}/../../bin/nx" - -for dir in "$1"/*; do +for dir in "$2"/*; do if [ -d "$dir" ]; then if [ -f "$dir/.nx_config" ]; then # Note: gen-one.sh already prints errors. - ./gen-one.sh "$dir" || exit + ./gen-one.sh "$1" "$dir" || exit fi fi done