From: ian Date: Mon, 3 Apr 2006 23:05:20 +0000 (+0000) Subject: @@ -2,6 +2,9 @@ X-Git-Tag: wip.base.getaddrinfo~73 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=a8ad155498d7830f69e7b6d0cfbc6768cdac4a40 @@ -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.) --- 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