2015-03-04 18:15:56 +01:00
|
|
|
Index: client/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- client/Makefile.in.orig
|
|
|
|
+++ client/Makefile.in
|
|
|
|
@@ -58,9 +58,9 @@ ALL_OBJS= $(ADH_OBJS) $(TARG_OBJS)
|
2007-01-15 23:50:52 +01:00
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
|
|
install: $(TARG_INSTALL)
|
|
|
|
- mkdir -p $(bindir)
|
|
|
|
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(bindir)
|
|
|
|
set -xe; for f in $(TARG_INSTALL); \
|
|
|
|
- do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done
|
|
|
|
+ do $(INSTALL_PROGRAM) $$f $(DESTDIR)/$(bindir)/$$f; done
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
for f in $(TARGETS); do rm -f $(bindir)/$$f; done
|
2015-03-04 18:15:56 +01:00
|
|
|
Index: dynamic/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- dynamic/Makefile.in.orig
|
|
|
|
+++ dynamic/Makefile.in
|
|
|
|
@@ -30,10 +30,10 @@ include $(srcdir)/../src/adns.make
|
2007-01-15 23:50:52 +01:00
|
|
|
ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS)))
|
|
|
|
|
|
|
|
install:
|
|
|
|
- mkdir -p $(libdir)
|
|
|
|
- $(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE)
|
|
|
|
- ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
|
|
|
|
- ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK)
|
|
|
|
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir)
|
|
|
|
+ $(INSTALL_PROGRAM) $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBFILE)
|
|
|
|
+ ln -sf $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBSONAME)
|
|
|
|
+ ln -sf $(SHLIBSONAME) $(DESTDIR)/$(libdir)/$(SHLIBFORLINK)
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME)
|
2015-03-04 18:15:56 +01:00
|
|
|
Index: src/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- src/Makefile.in.orig
|
|
|
|
+++ src/Makefile.in
|
|
|
|
@@ -30,10 +30,11 @@ include $(srcdir)/adns.make
|
|
|
|
DIRCFLAGS= -I. -I$(srcdir)
|
2007-01-15 23:50:52 +01:00
|
|
|
|
|
|
|
install:
|
|
|
|
- mkdir -p $(libdir) $(includedir)
|
|
|
|
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir)
|
|
|
|
+ $(INSTALL_PROGRAM) -d $(DESTDIR)/$(includedir)
|
|
|
|
set -xe; for f in $(TARGETS); \
|
|
|
|
- do $(INSTALL_DATA) $$f $(libdir)/$$f; done
|
|
|
|
- $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h
|
|
|
|
+ do $(INSTALL_DATA) $$f $(DESTDIR)/$(libdir)/$$f; done
|
|
|
|
+ $(INSTALL_DATA) $(srcdir)/../src/adns.h $(DESTDIR)/$(includedir)/adns.h
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
for f in $(TARGETS); do rm -f $(libdir)/$$f; done
|