summaryrefslogtreecommitdiff
path: root/netware/BUILD
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2007-08-24 23:07:59 +0200
committerunknown <joerg@trift2.>2007-08-24 23:07:59 +0200
commit4a801dde7ea531f16a261e860eb6bb30b497166d (patch)
treedad6764618b2ecdf7a17ad7942061e3d4f8a5ca1 /netware/BUILD
parent46d5ebb120f17e9e2ad1490d1e572a3b0cd145bf (diff)
downloadmariadb-git-4a801dde7ea531f16a261e860eb6bb30b497166d.tar.gz
Fixes for the NetWare builds, discovered during 5.1.21-beta and backported to 5.0:
1) Ensure "init_db.sql" and "test_db-sql" really get built. 2) Ensure the "*.def" files with NetWare linker options get distributed to the proper directories. netware/BUILD/compile-netware-END: Ensure the "*.def" files are built for NetWare. This is a backport of a 5.1 fix which may not be needed in 5.0 but cannot do any harm: the general "link_sources" step might fall victim to a cleanup which would be fatal just for NetWare, because of problems in the ordering of SUBDIR entries. netware/Makefile.am: 1) The scripts "init_db.sql" and "test_db.sql" must be built in the NetWare phase. 2) Use "basename", not sed.
Diffstat (limited to 'netware/BUILD')
-rwxr-xr-xnetware/BUILD/compile-netware-END11
1 files changed, 9 insertions, 2 deletions
diff --git a/netware/BUILD/compile-netware-END b/netware/BUILD/compile-netware-END
index 6c531ab5c7c..bf712f09162 100755
--- a/netware/BUILD/compile-netware-END
+++ b/netware/BUILD/compile-netware-END
@@ -29,8 +29,15 @@ fi
# configure
./configure $base_configs $extra_configs
-# make
-make clean bin-dist
+# Ensure a clean tree
+make clean
+
+# Link NetWare specific .def files into their proper locations
+# in the source tree
+( cd netware && make link_sources )
+
+# Now, do the real build
+make bin-dist
# mark the build
for file in *.tar.gz *.zip