mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 07:15:33 +02:00
MDEV-6284: Remove CMakeLists.txt hack that mangled the server install file
For Debian the rules file is the main makefile and assuming that a upstream makefile will mangle the Debian packaging files creates false alerts from static analysis tools and other problems.
This commit is contained in:
parent
d495bf4280
commit
1877a8cdb4
8 changed files with 25 additions and 13 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
|
@ -121,6 +121,14 @@ override_dh_auto_install:
|
|||
# If Mroonga plugin was not built skip the package
|
||||
[ -f $(BUILDDIR)/storage/mroonga/ha_mroonga.so ] || sed -i -e "/Package: mariadb-plugin-mroonga/,+11d" debian/control
|
||||
|
||||
# If libthrift-dev was available (manually installed, as it is
|
||||
# not in Debian) and ha_cassandra.so was thus built, create package,
|
||||
# otherwise skip it.
|
||||
[ -f $(BUILDDIR)/storage/cassandra/ha_cassandra.so ] || sed -i -e "/Package: mariadb-plugin-cassandra/,+14d" debian/control
|
||||
|
||||
# If Spider plugin was not built skip the package
|
||||
[ -f $(BUILDDIR)/storage/spider/ha_spider.so ] || sed -i -e "/Package: mariadb-plugin-spider/,+12d" debian/control
|
||||
|
||||
# make install
|
||||
cd $(BUILDDIR) && $(MAKE) install DESTDIR=$(TMP)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue