- bin/patchup.prg
+ bin/patchup.hbs
- utils/hbmk2/examples/plug_tpl.prg
+ utils/hbmk2/examples/plug_tpl.hbs
- contrib/hbide/plugins/savebackup.prg
+ contrib/hbide/plugins/savebackup.hbs
* Renamed standalone and plugin Harbour scripts
to have .hbs extension.
* contrib/hbqt/hbqt.hbc
- contrib/hbqt/hbmk2_plugin_qt.prg
+ contrib/hbqt/hbmk2_plugin_qt.hbs
* Renamed standalone and plugin Harbour scripts
to have .hbs extension.
* contrib/Makefile
- contrib/makefile.prg
+ contrib/makefile.hbs
* Renamed standalone and plugin Harbour scripts
to have .hbs extension.
* Makefile
- config/postinst.prg
+ config/postinst.hbs
* Renamed standalone and plugin Harbour scripts
to have .hbs extension.
42 lines
765 B
Makefile
42 lines
765 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
ROOT := ./
|
|
|
|
include $(ROOT)config/global.mk
|
|
|
|
ifeq ($(HB_BUILD_PARTS),compiler)
|
|
|
|
DIRS := \
|
|
src \
|
|
utils{src} \
|
|
|
|
else
|
|
|
|
DIRS := \
|
|
doc \
|
|
include \
|
|
external \
|
|
src{external} \
|
|
utils{src} \
|
|
contrib{src} \
|
|
|
|
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::
|
|
$(if $(wildcard $(HB_HOST_BIN_DIR)/hbrun$(HB_HOST_BIN_EXT)),+$(HB_HOST_BIN_DIR)/hbrun$(HB_HOST_BIN_EXT) --hb:gtcgi $(TOP)$(ROOT)config/postinst.hbs,)
|
|
$(if $(wildcard $(HB_POSTINST)),+$(HB_POSTINST),)
|