chiark / gitweb /
@@ -2,6 +2,9 @@
authorian <ian>
Mon, 3 Apr 2006 23:05:20 +0000 (23:05 +0000)
committerian <ian>
Mon, 3 Apr 2006 23:05:20 +0000 (23:05 +0000)
     in README.html.
+  * Create $(bin_dir) and $(lib_dir) on `make install', and also
+    make a libadns.so.1 -> libadns.so.1.<minor> link.  (Suggestions
+    and patch from Nix of esperi.org.uk.)

changelog
client/Makefile.in
dynamic/Makefile.in
src/Makefile.in

index 7dc9915561c8d9fa6de3172c55bf2f0cb206a72c..03afdd54caf4b000673067770f4e6f09667a425c 100644 (file)
--- 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.<minor> 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.
index 462ca579c0eca6e6976bbe1eaa2a3f38c2826bea..cf64e8e81b561c6fcdc55c5cce52936dfea8b0bd 100644 (file)
@@ -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
 
index 8c5f810601f0d6db3cff42fbbe44e3ca1176641e..f052815ac0fe891deda6b4cd07ec044dbdeae4d2 100644 (file)
@@ -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)
index 6967e8a9842da8baa1f678e20d82074fce2d765b..5b01aca33da7287b71078b10d876455d59901fee 100644 (file)
@@ -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