After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684770 - Adding a "Miscelaneous Data" objective ignores the given name
Adding a "Miscelaneous Data" objective ignores the given name
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: build-basic-autotools
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-25 09:57 UTC by Alejandro T.
Modified: 2012-10-13 17:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alejandro T. 2012-09-25 09:57:25 UTC
In the autotools backend, while adding a new objective to a project a name can be specified for it, but when the objective is a "Miscelaneous Data" objective, the backend ignores the name given to the objective and writes the name data_DATA instead of given_name_DATA, thus forcing the user to write the name for this objective manually in the corresponding Makefile.am file.
As the aim of the backend is to avoid the user dealing with autotools directly, this can be understood as an undesired behaviour.
Comment 1 Sébastien Granjoux 2012-10-13 08:24:24 UTC
The name, given here, is the name of the installation directory for a DATA target. It is not really a name like for other targets, that's why I haven't take it into account.

Do you think it's better to use it as the installation directory?


It should be possible to change the installation directory later in the property of the data target. It seems that it doesn't work at the moment though.

Do you think it's better change the installation directory of the data target using the name property?
Comment 2 Sébastien Granjoux 2012-10-13 17:11:42 UTC
I have fixed this in master, it will be available in the next release. Thanks for your bug report.