Apache OpenOffice (AOO) Bugzilla – Issue 69821
dmake macro TMD has more problems
Last modified: 2013-08-07 15:34:52 UTC
The following two minor problems were not fixed in issue 61170: 1) This makefile: --- all : @+echo "TMD:$(TMD):" --- Results in: TMD:: but TMD should be '.'. 2) This makefile: --- SHELL*:=/bin/sh SHELLFLAGS*:=-ce all .SETDIR=../../test2/aaa : @+echo "TMD:$(TMD):" --- Produces the wrong result for TMD in this configuration: $ mkdir -p test1/aaa $ mkdir -p test2/aaa $ cd test1/aaa/ ; dmake.exe -rf ../../t_tmd_2.mk TMD:../test1: Correct would be: TMD="../test1/aaa"
Created attachment 39334 [details] Patch for dmake
Created attachment 39335 [details] Testcase for dmake
I'm waiting for dmake47 ... ;)
Committed, but I found another TMD problem (with absolute DOS paths).
Created attachment 40474 [details] Patch for dmake/make.c
Created attachment 40478 [details] New patch - fixing testsuite regression
The TMD problem with absolute DOS paths can be verified for W32 native builds with this makefile: --- makefile.mk --- SHELL:=cmd.exe SHELLFLAGS:=/C # Make TEMP the target directory, cd to TMD should go back to # the original directory all ".SETDIR=c:/temp" : @+echo TMD:$(TMD): --- makefile.mk --- [in cmd.exe window, working directory on different drive letter] D:\w1\cws_src680_dmake47>dmake\dmake.exe -rf t_69821_4.mk TMD:D:\w1\cws_src680_dmake47:
Created attachment 40481 [details] Drive letters are case insensitive ...
Patch and testcase committed to dmake47. Please verify.
ok
seen in MWS