~rfc1149/adasockets

a6a6db3f9fe64a5106fb45ae1d5836c1e7ec19e8 — Nicolas Boulenguez 5 months ago ec2ef11
Improve installation of the pkg-config script and gnat project

The contents of the pkg-config script, gnat project, .ali files and
even some sources probably depend on the architecture.
1 files changed, 3 insertions(+), 3 deletions(-)

M src/Makefile.am
M src/Makefile.am => src/Makefile.am +3 -3
@@ 58,8 58,8 @@ constants-inc.c: $(srcdir)/constants.sh
sockets-constants.ads: constants
	./constants > sockets-constants.ads

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = adasockets.pc
pkgconfigexecdir = $(libdir)/pkgconfig
pkgconfigexec_DATA = adasockets.pc

if WIN32
nodist_libadasockets_la_SOURCES += \


@@ 90,7 90,7 @@ SUFFIXES = .ads .lo .ali
.lo.ali:

# ./configure would not substitute ${prefix} in the project.
install-data-local: all
install-exec-local: all
	rm -fr $(DESTDIR)$(ada_src_install_dir)/adasockets \
	       $(DESTDIR)$(ali_install_dir)/adasockets
	$(mkinstalldirs) \