[pkg-kolab] r1050 - libkolab-perl/branches/2.2.1/debian

mparent-guest at alioth.debian.org mparent-guest at alioth.debian.org
Tue Dec 16 19:45:23 UTC 2008


Author: mparent-guest
Date: 2008-12-16 19:45:23 +0000 (Tue, 16 Dec 2008)
New Revision: 1050

Modified:
   libkolab-perl/branches/2.2.1/debian/rules
Log:
make install creates empty manpages, delete them


Modified: libkolab-perl/branches/2.2.1/debian/rules
===================================================================
--- libkolab-perl/branches/2.2.1/debian/rules	2008-12-16 19:19:48 UTC (rev 1049)
+++ libkolab-perl/branches/2.2.1/debian/rules	2008-12-16 19:45:23 UTC (rev 1050)
@@ -24,6 +24,8 @@
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/libkolab-perl
 	# Man pages
 	mkdir -p $(CURDIR)/debian/libkolab-perl/usr/share/man/man1
+	#make install creates empty manpages, delete them
+	find $(CURDIR)/debian/libkolab-perl/usr/share/man/man1/ -size 0 -exec rm '{}' \;
 	for x in `find $(CURDIR)/debian/libkolab-perl/usr/bin $(CURDIR)/debian/libkolab-perl/usr/sbin -type f`; do \
 	  sed "s/undocumented/`basename $$x`/g" $(CURDIR)/debian/undocumented.1 > $(CURDIR)/debian/libkolab-perl/usr/share/man/man1/`basename $$x`.1; \
 	done




More information about the pkg-kolab-devel mailing list