Sun, 24 Sep 2023 18:48:42 +0200
use make vars instead of config vars for rmdir/mkdir
configure | file | annotate | diff | comparison | revisions | |
make/project.xml | file | annotate | diff | comparison | revisions |
--- a/configure Sun Sep 24 18:43:58 2023 +0200 +++ b/configure Sun Sep 24 18:48:42 2023 +0200 @@ -29,8 +29,6 @@ MANDIR= # custom variables -MKDIR="mkdir -p" -RMDIR="rm -fR" # features @@ -176,8 +174,6 @@ INCLUDEDIR="$INCLUDEDIR" INFODIR="$INFODIR" MANDIR="$MANDIR" -MKDIR=$MKDIR -RMDIR=$RMDIR __EOF__ sort -u -o "$TEMP_DIR/vars.mk" "$TEMP_DIR/vars.mk" @@ -253,6 +249,11 @@ break fi + cat >> "$TEMP_DIR/make.mk" << __EOF__ +MKDIR=mkdir -p +RMDIR=rm -fR + +__EOF__ break done break
--- a/make/project.xml Sun Sep 24 18:43:58 2023 +0200 +++ b/make/project.xml Sun Sep 24 18:48:42 2023 +0200 @@ -1,11 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://unixwork.de/uwproj"> - <config> - <var name="MKDIR">mkdir -p</var> - <var name="RMDIR">rm -fR</var> - </config> <dependency> <lang>c</lang> + <make>MKDIR=mkdir -p</make> + <make>RMDIR=rm -fR</make> </dependency> <dependency name="ucx"> <test>check_lib ucx cx/list.h</test>