* harbour/Makefile
* harbour/config/dir.mk
* harbour/config/global.mk
* eliminated HB_*POSTINST* variables, now it's used only localy
in harbour/Makefile
* modified root Makefile detection
44 lines
588 B
Makefile
44 lines
588 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ./
|
|
|
|
ifeq ($(HB_HOST_BUILD),yes)
|
|
|
|
DIRS := \
|
|
source \
|
|
|
|
else
|
|
|
|
ifeq ($(HB_HOST_BUILD),lib)
|
|
HB_UTIL_DIR :=
|
|
else
|
|
HB_UTIL_DIR := utils{source}
|
|
endif
|
|
|
|
DIRS := \
|
|
doc \
|
|
include \
|
|
source \
|
|
$(HB_UTIL_DIR) \
|
|
contrib{source} \
|
|
external \
|
|
|
|
endif
|
|
|
|
include $(ROOT)config/dir.mk
|
|
|
|
ifeq ($(HB_SHELL),sh)
|
|
HB_POSTINST := $(TOP)$(ROOT)bin/postinst.sh
|
|
else
|
|
ifeq ($(HB_SHELL),os2)
|
|
HB_POSTINST := $(subst /,\,$(TOP)$(ROOT)bin/postinst.cmd)
|
|
else
|
|
HB_POSTINST := $(subst /,\,$(TOP)$(ROOT)bin/postinst.bat)
|
|
endif
|
|
endif
|
|
|
|
install::
|
|
+$(HB_POSTINST)
|