added support and example for alternate header directory in 'include' subdirectory under package root

This commit is contained in:
Viktor Szakats
2013-03-26 03:59:24 +01:00
parent 4442265d4a
commit 052b4f7ee0
4 changed files with 14 additions and 0 deletions

View File

@@ -10,6 +10,13 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-03-26 03:58 UTC+0100 Viktor Szakats (harbour syenar.net)
* extras/template/hbtpl.hbc
* extras/template/hbtpl.hbp
* utils/hbmk2/pkg_inst.hbm
+ added support and example for alternate header directory
in 'include' subdirectory under package root.
2013-03-26 01:47 UTC+0100 Viktor Szakats (harbour syenar.net)
* config/global.mk
* config/postinst.hb

View File

@@ -2,6 +2,8 @@
description=Harbour library project template
incpaths=.
# NOTE: Uncomment if you store headers in this alternate subdirectory
# incpaths=include
headers=${hb_name}.ch
libpaths=lib/${hb_plat}/${hb_comp}

View File

@@ -16,6 +16,9 @@
# -depimplibd=lib3rd:lib3rd
# -depfinish=lib3rd
# NOTE: Uncomment if you store headers in this alternate subdirectory
# -iinclude
core.prg
corec.c

View File

@@ -11,6 +11,7 @@
-instfile=misc:*.hbc
-instfile=misc:*.txt
-instfile=inc:*.ch
-instfile=inc_sub:include/*.ch
-instfile=inc:*.hbx
-instfile=tests:tests/*.*
@@ -39,4 +40,5 @@
# misc files, public headers, tests
-instpath=misc:${HB_ADDONS}/${hb_name}/
-instpath=inc:${HB_ADDONS}/${hb_name}/
-instpath=inc_sub:${HB_ADDONS}/${hb_name}/include/
-instpath=tests:${HB_ADDONS}/${hb_name}/tests/