Skip to content

Commit

Permalink
debian: do not install *.la files
Browse files Browse the repository at this point in the history
rationales:
* .la files are worthless
  see http://www.spinics.net/lists/ceph-devel/msg30637.html
* debian does not like it:
  see https://wiki.debian.org/ReleaseGoals/LAFileRemoval
* neither does fedora:
  https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
* also they are created by libtools, and cmake does not use libtools.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Jun 7, 2016
1 parent d596146 commit 4ba2bb7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion debian/libcephfs-dev.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
usr/include/cephfs/libcephfs.h
usr/lib/libcephfs.a
usr/lib/libcephfs.la
usr/lib/libcephfs.so
1 change: 0 additions & 1 deletion debian/librados-dev.install
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ usr/include/rados/rados_types.h
usr/include/rados/rados_types.hpp
usr/include/rados/memory.h
usr/lib/librados.a
usr/lib/librados.la
usr/lib/librados.so
usr/share/man/man8/librados-config.8
1 change: 0 additions & 1 deletion debian/libradosstriper-dev.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
usr/include/radosstriper/libradosstriper.h
usr/include/radosstriper/libradosstriper.hpp
usr/lib/libradosstriper.a
usr/lib/libradosstriper.la
usr/lib/libradosstriper.so
1 change: 0 additions & 1 deletion debian/librbd-dev.install
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ usr/include/rbd/features.h
usr/include/rbd/librbd.h
usr/include/rbd/librbd.hpp
usr/lib/librbd.a
usr/lib/librbd.la
usr/lib/librbd.so
1 change: 0 additions & 1 deletion debian/librgw-dev.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
usr/include/rados/librgw.h
usr/include/rados/rgw_file.h
usr/lib/librgw.a
usr/lib/librgw.la
usr/lib/librgw.so
1 change: 0 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ install: build
dh_installdirs

$(MAKE) DESTDIR=$(DESTDIR) install
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
install -D -m 644 udev/50-rbd.rules $(DESTDIR)/lib/udev/rules.d/50-rbd.rules
install -D -m 644 udev/95-ceph-osd.rules $(DESTDIR)/lib/udev/rules.d/95-ceph-osd.rules
install -D -m 644 src/etc-rbdmap $(DESTDIR)/etc/ceph/rbdmap
Expand Down

0 comments on commit 4ba2bb7

Please sign in to comment.