]> xenbits.xensource.com Git - people/dstodden/blktap.git/commitdiff
Update blktap-devel.rpm.
authorDaniel Stodden <daniel.stodden@citrix.com>
Fri, 11 Jun 2010 23:59:17 +0000 (16:59 -0700)
committerDaniel Stodden <daniel.stodden@citrix.com>
Fri, 11 Jun 2010 23:59:17 +0000 (16:59 -0700)
To include all relevant headers and archives.

include/Makefile
mk/blktap.spec.in

index 0863de3d1b676672fc8d32740169464ae8798261..efdce70e1bbf60f789a91f0e34a8bbc7677b1ece 100644 (file)
@@ -6,8 +6,17 @@ all:
 
 .PHONY: install
 install:
-       $(INSTALL_DIR) -p $(DESTDIR)/usr/include
-       $(INSTALL_DATA) blktaplib.h $(DESTDIR)/usr/include
+       $(INSTALL_DIR) -p $(DESTDIR)/usr/include/blktap
+       $(INSTALL_DATA) blktaplib.h $(DESTDIR)/usr/include/blktap
+       $(INSTALL_DATA) tapdisk-message.h $(DESTDIR)/usr/include/blktap
+
+       $(INSTALL_DIR) -p $(DESTDIR)/usr/include/vhd
+       $(INSTALL_DATA) vhd.h $(DESTDIR)/usr/include/vhd
+       $(INSTALL_DATA) vhd-util.h $(DESTDIR)/usr/include/vhd
+       $(INSTALL_DATA) libvhd.h $(DESTDIR)/usr/include/vhd
+       $(INSTALL_DATA) libvhd-index.h $(DESTDIR)/usr/include/vhd
+       $(INSTALL_DATA) libvhd-journal.h $(DESTDIR)/usr/include/vhd
+       $(INSTALL_DATA) list.h $(DESTDIR)/usr/include/vhd
 
 .PHONY: clean
 clean:
index 961f4f27e66fbe145b0be1fd2e19942a90dfc1f5..95f30a0332bcb5cec3dfac0035348e4e3382e43f 100644 (file)
@@ -39,9 +39,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc
-%{_libdir}/libblktap.so.*
-%{_libdir}/libvhd.so.*
-%{_libdir}/libvhdio.so.*
+%{_libdir}/libblktap.so*
+%{_libdir}/libvhd.so*
+%{_libdir}/libvhdio.so*
 %{_sbindir}/blktapctrl
 %{_sbindir}/tapdisk
 %{_sbindir}/tapdisk2
@@ -60,12 +60,10 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(-,root,root,-)
 %doc
-%{_includedir}/blktaplib.h
 %{_libdir}/libblktap.a
-%{_libdir}/libblktap.so
 %{_libdir}/libvhd.a
-%{_libdir}/libvhd.so
 %{_libdir}/libvhdio.a
-%{_libdir}/libvhdio.so
+%{_includedir}/vhd/*
+%{_includedir}/blktap/*
 
 %changelog