support-files/Makefile.am includes scripts both in pkgsupp_DATA and pkgsupp_SCRIPTS

Bug #943736 reported by Peter Stuge on 2012-03-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
Low
Sergei Golubchik

Bug Description

All MariaDB versions since revision 2643.50.1 (but maybe earlier) which use autotools as build system (currently this is the 5.1, 5.2 and 5.3 trees) include the mysql-log-rotate and binary-configure scripts in both the pkgsupp_DATA and the pkgsupp_SCRIPTS variables in support-files/Makefile.am.

The two files are scripts, so they shouldn't be included in pkgsupp_DATA. The automake documentation mentions that the DATA variables are meant for architecture-independent data files, while the SCRIPTS variables are meant for executable scripts.

Without the attached patch, the scripts are installed twice on make install.

http://bazaar.launchpad.net/~maria-captains/maria/5.2/revision/2643.50.1 is various changes by Monty for creation of the official binary builds, including some mention of compatibility symlinks placed in the original location of (presumably) these files.

Hopefully the scripts to create official builds can be adjusted so that the duplication in pkgsupp_DATA and pkgsupp_SCRIPTS is no longer neccessary.

Elena Stepanova (elenst) on 2012-03-13
Changed in maria:
assignee: nobody → Sergei (sergii)
Sergei Golubchik (sergii) wrote :

fixed in 5.5

Changed in maria:
importance: Undecided → Low
milestone: none → 5.5
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers