Ticket #53 (closed task: fixed)
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
Note: See
TracTickets for help on using
tickets.
