Missing libdir when installing the .def file

LRN lrn1986 at gmail.com
Thu Mar 21 11:39:11 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

src/Makefile.am reads:

 install-def-file:
 	$(INSTALL) $(srcdir)/libgcrypt.def $(DESTDIR)$(libdir)/libgcrypt.def

This normally works - except for the cases of installing into a
staging directory. Staging directory is empty initially, it doesn't
have libdir in it. When libgcrypt is installed concurrently (with make
install -jX), libdir might not be created prior to running
install-def-file recipe.
This is fixed by doing
	$(INSTALL) -d $(DESTDIR)$(libdir)
before installing the .def file.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRSuNPAAoJEOs4Jb6SI2CwFKIIAMOHEZLpYQBw5EV20p8JLRk3
96Ui5Jct3jpPgZy7E400d9xeuagdFLuMrWA2qMkmYv0rUZ7Twg1qJIjKsC87EQ6m
1FT9hrDWEnF3kVrpnCLHruRI+UFN7FULFFlnDFwThO1VlUsOVz+om7Iw+cDajsxD
VUVs2CMBj/SqC50i1sWhabL6jwoyq4ix12GuTm2NaTJl2k24g20DATsjbEdULkZz
tcECYmQOgWnFToKhbcNkwdCw2pl7nIwMTSZJrJyd2XXUi1PF0lVF3c1Y43k8rHGH
cGPmyFGFI1BrnkeY4/JozX75Icm4MVmF1L9Jv/3bhhcU0GExgPSUgNjzb2PZZC4=
=eG1Z
-----END PGP SIGNATURE-----



More information about the Gcrypt-devel mailing list