1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-21 10:09:57 +01:00

speedo: Let install also copy the SO's symlinks.

* build-aux/speedo.mk (install-speedo): Also instal the sumlinks for
the SOs.
This commit is contained in:
Werner Koch 2024-07-05 14:23:30 +02:00
parent 7c4c35f542
commit ff6cffab92
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 9 additions and 5 deletions

8
README
View File

@ -97,9 +97,13 @@
example:
make -f build-aux/speedo.mk install SYSROOT=/usr/local/gnupg26
ldconfig -n /usr/local/gnupg26/lib
and adding /usr/local/gnupg26/bin to PATH.
and run the binaries like
/usr/local/gnupg26/bin/gpg
which will also start any daemon from the same directory. Make sure
to stop already running daemons or use a different GNUPGHOME.
** Specific build problems on some machines:

View File

@ -1110,9 +1110,8 @@ ifneq ($(TARGETOS),w32)
echo "speedo: /*" ;\
echo "speedo: * Now copy $(idir)/ to the final location and" ;\
echo "speedo: * adjust $(idir)/bin/gpgconf.ctl accordingly" ;\
echo "speedo: * Or run:" ;\
echo "speedo: * Or run run for example:" ;\
echo "speedo: * make -f $(topsrc)/build-aux/speedo.mk install SYSROOT=/usr/local/gnupg26" ;\
echo "speedo: * ldconfig -n /usr/local/gnupg26/lib";\
echo "speedo: */")
endif
@ -1128,7 +1127,6 @@ ifneq ($(TARGETOS),w32)
echo "speedo: Set SYSROOT to the desired install directory";\
echo "speedo: Example:";\
echo "speedo: make -f $(topsrc)/build-aux/speedo.mk install SYSROOT=/usr/local/gnupg26";\
echo "speedo: ldconfig -n /usr/local/gnupg26/lib";\
exit 1;\
fi;\
if [ ! -d "$$SYSROOT"/bin ]; then if ! mkdir "$$SYSROOT"/bin; then \
@ -1150,6 +1148,8 @@ ifneq ($(TARGETOS),w32)
echo "speedo: Installing files to $$SYSROOT";\
find . -type f -executable \
-exec install -Dm 755 "{}" "$$SYSROOT/{}" \; ;\
find . -type l -executable \
-exec install -Dm 755 "{}" "$$SYSROOT/{}" \; ;\
find . -type f \! -executable \
-exec install -Dm 644 "{}" "$$SYSROOT/{}" \; ;\
echo "sysconfdir = /etc/gnupg" > "$$SYSROOT"/bin/gpgconf.ctl ;\