Ticket #53 (closed task: fixed)

Opened 13 months ago

Last modified 6 months ago

Makefile.in patch for empty SH variable on Solaris

Reported by: alec.rogers@… Owned by: somebody
Priority: trivial Milestone:
Component: build-systems Version:
Keywords: Cc:

Description

In the top-level Makefile.in, there is sh syntax that prevents Solaris from completing the build in the three "recursive" targets at the end of that file. The problem is the use of an empty variable ($SUBDIRS), so a possible solution would be to wrap the rule in an if conditional:

all-recursive:

if [ "$(SUBDIRS)" ]; then for dir in "$(SUBDIRS)"; do make -C $$dir all; done ; fi

install-recursive:

if [ "$(SUBDIRS)" ]; then for dir in "$(SUBDIRS)"; do make -C $$dir install; done ; fi

uninstall-recursive:

if [ "$(SUBDIRS)" ]; then for dir in "$(SUBDIRS)"; do make -C $$dir uninstall; done ; fi

Change History

Changed 6 months ago by rossb

  • status changed from new to closed
  • resolution set to fixed

apparently this patch went in recently. and a different Solaris makefile problem was comitted in r1357. Pete Ross assures me this ticket is resolved now.

Note: See TracTickets for help on using tickets.