From: <bo...@us...> - 2003-09-05 06:18:20
|
Update of /cvsroot/libfunutil/libfunutil/lib/funUtil In directory sc8-pr-cvs1:/tmp/cvs-serv25643 Modified Files: Makefile.bt Log Message: get library version numbers from package version, remove fun-config.h symlink if it already exists (a suspicious change) Index: Makefile.bt =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/lib/funUtil/Makefile.bt,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile.bt 28 Aug 2003 11:55:15 -0000 1.4 +++ Makefile.bt 5 Sep 2003 06:18:17 -0000 1.5 @@ -10,8 +10,9 @@ # Library name and version BT_LIB= funUtil -BT_LIB_MAJOR= 0 -BT_LIB_MINOR= 1 +BT_LIB_MAJOR= $(BT_PKG_VERSION:C/^([0-9]+).*/\1/) +BT_LIB_MINOR= $(BT_PKG_VERSION:C/^[0-9]+\.([0-9]+).*/\1/) +BT_LIB_MICRO= $(BT_PKG_VERSION:C/^[0-9]+\.[0-9]+\.([0-9]+.*)/\1/) # Source files BT_SRCS= \ @@ -80,6 +81,7 @@ # This creates symlinks for the installed headers in BT_TOPDIR/include/fun. headers: $(BT_INCS:C/.+/$(top_srcdir)\/include\/fun\/&/) $(BT_INCS:C/.+/$(top_srcdir)\/include\/fun\/&/): $(@:C/.*[^\/]*\///) + if test -l $@; then rm $@; fi $(BT_INSTALL_SYMLINK) ../../lib/funUtil/$? $@ headers-clean: -rm $(BT_INCS:C/.+/$(top_srcdir)\/include\/fun\/&/) |