]> granicus.if.org Git - libtirpc/commitdiff
Use $(DESTDIR) in the installation of /etc/netconfig
authorSteve Dickson <steved@dickson.boston.devel.redhat.com>
Tue, 10 Jun 2008 19:41:22 +0000 (15:41 -0400)
committerSteve Dickson <steved@dickson.boston.devel.redhat.com>
Tue, 10 Jun 2008 19:41:22 +0000 (15:41 -0400)
Set the -version-info in the LDFLAGS

Signed-off-by: Steve Dickson <steved@redhat.com>
Makefile.am
src/Makefile.am

index c670535db1cebb9b6e27ea8f90a179f0d6353cee..b407651fba1b36abf54134298312082bc48207be 100644 (file)
@@ -47,5 +47,5 @@ pkgconfigdir=$(libdir)/pkgconfig
 pkgconfig_DATA = libtirpc.pc
 
 install-exec-local:
-       cp -p ./doc/etc_netconfig /etc/netconfig
-       chmod 0644 /etc/netconfig
+       cp -p ./doc/etc_netconfig $(DESTDIR)/etc/netconfig
+       chmod 0644 $(DESTDIR)/etc/netconfig
index 7126ff3c9446e3cc8e891a05775c894d6d8d4d01..edab30099d11f8e83d9ca0f3c1fcc5371220f602 100644 (file)
@@ -11,7 +11,7 @@ INCLUDES = -I../tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \
 
 lib_LTLIBRARIES = libtirpc.la
 
-libtirpc_la_LDFLAGS = -lnsl -lpthread
+libtirpc_la_LDFLAGS = -lnsl -lpthread -version-info 1:8:0
 
 libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
         clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \