diff -uNr iax-0.2.2.ORIG/src/Makefile.am iax-0.2.2/src/Makefile.am
--- iax-0.2.2.ORIG/src/Makefile.am	2014-05-13 12:45:58.343755528 +0100
+++ iax-0.2.2/src/Makefile.am	2014-05-13 12:46:30.044757107 +0100
@@ -9,10 +9,9 @@
 EXTRA_DIST = md5.h frame.h iax-client.h iax.h
 
 install:
-	mkdir -p $(includedir)/iax
-	install -m 644 md5.h $(includedir)/iax
-	install -m 644 frame.h $(includedir)/iax
-	install -m 644 iax.h $(includedir)/iax
-	install -m 644 iax-client.h $(includedir)/iax
-	/sbin/ldconfig
+	mkdir -p $(DESTDIR)$(includedir)/iax
+	install -m 644 md5.h $(DESTDIR)$(includedir)/iax
+	install -m 644 frame.h $(DESTDIR)$(includedir)/iax
+	install -m 644 iax.h $(DESTDIR)$(includedir)/iax
+	install -m 644 iax-client.h $(DESTDIR)$(includedir)/iax
 
