Viktor,
written this way it freezes:
ifeq ($(HB_SHELL),os2)
define inst_file_all
-...@if not exist $(INSTALL_DIR_OS) $(MDP) $(INSTALL_DIR)
$(foreach file,$(INSTALL_FILES_OS),$(inst_file))
endef
define inst_file
$(COMSPEC) /C $(CP) $(file) $(INSTALL_DIR_OS)
endef
INSTALL_RULE := $(inst_file_all)
endif
Maurilio
> Thanks for the input. Could you try the just removed
> method with readded $(COMSPEC) /C? Maybe the logic was
> good (after all it even works in MS-DOS), just this bit
> was causing freeze.
>
> Brgds,
> Viktor
>
> On 2009.08.16., at 0:37, maurilio longo wrote:
>
> > Viktor,
> >
> > without the comspec trick a make install freezes, the shell cannot
> > even be killed anymore :(
> >
> > Best regards.
> >
> > Maurilio.
> >
> > PS. See also my other answer to your previous message.
> >
> >
> >> BTW it would be also nice to hear what was the problem
> >> with previous commit (which was working for David), I've
> >> copied the DOS shell method, where the command line limit
> >> is even more restricted, yet it works fine. Maybe it'd be
> >> enough to use GNU cp (like with DOS) for OS/2 too, since
> >> that was also part of the DOS solution, but I didn't commit
> >> that part for OS/2.
> >>
> >> I'd welcome your comments and tests, I'm sure there is a
> >> better solution than current one.
> >>
> >> Brgds,
> >> Viktor
> >>
> >> On 2009.08.15., at 11:40, [email protected] wrote:
> >>
> >>> Revision: 12125
> >>>
> >>> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12125&view=rev
> >>> Author: mauriliolongo
> >>> Date: 2009-08-15 21:40:10 +0000 (Sat, 15 Aug 2009)
> >>>
> >>> Log Message:
> >>> -----------
> >>> 2009-08-15 23:37 UTC+0200 Maurilio Longo ([email protected])
> >>> ! ChangeLog
> >>> ! fixed typo in last commit.
> >>>
> >>> Modified Paths:
> >>> --------------
> >>> trunk/harbour/ChangeLog
> >>>
> >>>
> >>> This was sent by the SourceForge.net collaborative development
> >>> platform, the world's largest Open Source development site.
> >>> _______________________________________________
> >>> Harbour mailing list
> >>> [email protected]
> >>> http://lists.harbour-project.org/mailman/listinfo/harbour
> >>
> >> _______________________________________________
> >> Harbour mailing list
> >> [email protected]
> >> http://lists.harbour-project.org/mailman/listinfo/harbour
> >>
> >
> > _______________________________________________
> > Harbour mailing list
> > [email protected]
> > http://lists.harbour-project.org/mailman/listinfo/harbour
>
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour