Hello all, On Tue, Dec 15, 2020 at 05:56:48PM -0500, Carl Marcum wrote:
> On 12/15/20 3:37 PM, Peter Kovacs wrote: > > > > On 15.12.20 20:14, Jim Jagielski wrote: > > > > > > > On Dec 15, 2020, at 12:57 PM, Matthias Seidel > > > > <matthias.sei...@hamburg.de> wrote: > > > > > > > > Hi Carl, > > > > > > > > Am 13.12.20 um 23:43 schrieb Carl Marcum: > > > > > Hi Matthias, > > > > > > > > > > On 12/13/20 4:29 PM, Matthias Seidel wrote: > > > > > > Hi Carl, > > > > > > > > > > > > Am 13.12.20 um 19:02 schrieb Carl Marcum: > > > > > > > Hi all, > > > > > > > > > > > > > > Just ran into something. > > > > > > > > > > > > > > I ran 'dmake clean' from main probably without having ran source > > > > > > > <shell-script-name> and it removed all of my directories under > > > > > > > main. > > > > > > Tried to do that on Windows (Cygwin64), went into main, > > > > > > did "autoconf", > > > > > > "dmake clean": > > > > > > > > > > > > $ dmake clean > > > > > > -bash: dmake: command not found > > > > > > > > > > > > Only after "source winenv.set.sh" it did clean up what it should... > > > > > It could be because I have a built and installed dmake on my system. > > > > > > > > > > Thanks for checking! > > > > If an installed dmake does have this consequence we should have > > > > a closer > > > > look at it... > > > > > > > It must be getting those commands from a makefile somewhere > > > though... dmake itself has no concept of 'clean' independent of what > > > a makefile tells it it is AFAIK > > > > there is a makefile on that level. However I think it is for make and > > not for dmake. At least when I want to reset the build for sure I do a > > dmake clean (from instsetoo_native)first, followed by a make clean > > (main). > > > > And the make clean has this rm command and removes all sorts of stuff. > > Could it be that if you execute dmake clean on main folder will let > > dmake read the make file ment for gnumake? [...] > I've had it happen twice now and it's a pain when it happens but probably > not dmake's fault. If main/makefile.mk is used by dmake, then that could be the culprit. The clean target does: > clean .PHONY: > -rm -rf */$(INPATH) [... the rest is uninportant ...] The INPATH variable is set by the Env.sh script If the env.sh script is not set, then the command is interpreted as: rm -rf */ I don't know dmake, but if it was GNU Make a possible fix would be something like: > clean .PHONY: > if [ -z "$(INPATH)" ]; then echo "Environment not set!"; exit 1; fi > -rm -rf */$(INPATH) [... the rest same as above ...] The GNU Make Makefile main/Makefile prevents this error. Its clean target is in fact: > clean: > . ./*Env.Set.sh && \ > dmake clean In English: first include the file ending with "Env.Set.sh" and only then run "dmake clean". I can issue a PR to fix makefile.mk but it will take me one or two days; if no one can react any quicker, please let me know and I will put this in my to-do list. Regards, -- rigo http://rigo.altervista.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org