From e8878fdd6925b2dee7a58b7a5dddb15e9fa7119b Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 3 Apr 2006 23:05:20 +0000 Subject: [PATCH] + * Create $(bin_dir) and $(lib_dir) on `make install', and also @@ -2,6 +2,9 @@ in README.html. + * Create $(bin_dir) and $(lib_dir) on `make install', and also + make a libadns.so.1 -> libadns.so.1. link. (Suggestions + and patch from Nix of esperi.org.uk.) --- changelog | 3 +++ client/Makefile.in | 1 + dynamic/Makefile.in | 2 ++ src/Makefile.in | 1 + 4 files changed, 7 insertions(+) diff --git a/changelog b/changelog index 7dc9915..03afdd5 100644 --- a/changelog +++ b/changelog @@ -2,6 +2,9 @@ adns (1.1.999.0.2); urgency=medium * Include reference to Peter Simons's Haskell bindings in README.html. + * Create $(bin_dir) and $(lib_dir) on `make install', and also + make a libadns.so.1 -> libadns.so.1. link. (Suggestions + and patch from Nix of esperi.org.uk.) Fixes from or suggested by Bernd Eckenfels, the Debian maintainer: * Correct type of various printf arguments: ptrdiff_t != int. diff --git a/client/Makefile.in b/client/Makefile.in index 462ca57..cf64e8e 100644 --- a/client/Makefile.in +++ b/client/Makefile.in @@ -59,6 +59,7 @@ ADNSDIR= $(srcdir)/../src/ all: $(TARGETS) install: $(TARG_INSTALL) + mkdir -p $(bin_dir) set -xe; for f in $(TARG_INSTALL); \ do $(INSTALL_PROGRAM) $$f $(bin_dir)/$$f; done diff --git a/dynamic/Makefile.in b/dynamic/Makefile.in index 8c5f810..f052815 100644 --- a/dynamic/Makefile.in +++ b/dynamic/Makefile.in @@ -31,8 +31,10 @@ include $(srcdir)/../src/adns.make ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS))) install: + mkdir -p $(lib_dir) $(INSTALL_PROGRAM) $(SHLIBFILE) $(lib_dir)/$(SHLIBFILE) ln -sf $(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME) + ln -sf $(SHLIBSONAME) $(lib_dir)/$(SHLIBFORLINK) uninstall: rm -f $(lib_dir)/$(SHLIBFILE) $(lib_dir)/$(SHLIBSONAME) diff --git a/src/Makefile.in b/src/Makefile.in index 6967e8a..5b01aca 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -29,6 +29,7 @@ include $(srcdir)/../settings.make include adns.make install: + mkdir -p $(lib_dir) $(include_dir) set -xe; for f in $(TARGETS); \ do $(INSTALL_DATA) $$f $(lib_dir)/$$f; done $(INSTALL_DATA) $(srcdir)/../src/adns.h $(include_dir)/adns.h -- 2.30.2