| |
@@ -81,3 +81,14 @@
|
| |
# Comfignat. It passes the standard parameters for the build tools, the
|
| |
# directories project and the installation pathnames to Make. A goal for Make
|
| |
# may be appended on the command line.
|
| |
+
|
| |
+ %Gprinstall_flags --create-missing-dirs \\\
|
| |
+ --sources-subdir=%{buildroot}/%{_includedir}/%{name} \\\
|
| |
+ --project-subdir=%{buildroot}/%_GNAT_project_dir \\\
|
| |
+ --exec-subdir=%{buildroot}/%{_bindir} \\\
|
| |
+ --ali-subdir=%{buildroot}/%{_libdir}/%{name} \\\
|
| |
+ --lib-subdir=%{buildroot}/%{_libdir} \\\
|
| |
+ --link-lib-subdir=%{buildroot}/%{_libdir}
|
| |
+
|
| |
+ # Gprinstall_flags contains standard path for package installation is Fedora
|
| |
+ # It deprecates usage of directories.gpr in case if project uses gprinstall properly
|
| |
Modern ada applicatios don't use makefile too much but gprinstall.
It makes easier installation into buildroot but requires long list of
arguments to be passed into. The list is identical for almost all packages
thus can be placed into macros file.