From: Andre Noll Date: Fri, 11 Jan 2008 13:15:41 +0000 (+0100) Subject: Remove man pages from tarball. X-Git-Tag: v0.3.0~4 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=d2abe6be23da98a229718bc6de0447f133867f69;p=paraslash.git Remove man pages from tarball. Since they are re-created at make install time anyway and help2man is now considered a required tool for building paraslash, there is no reason to ship the pre-generated man pages with the tarball. This reduces the size of the tarball by about 2k. Thanks to Johannes Wörner for pointing out this inconsistency. --- diff --git a/Makefile.in b/Makefile.in index 0af8cddd..435ab294 100644 --- a/Makefile.in +++ b/Makefile.in @@ -234,14 +234,12 @@ install: all man $(install_sh) -m 644 $(man_pages) $(MANDIR) mkdir -p $(VARDIR) >/dev/null 2>&1 || true # not fatal, so don't complain -@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2: $(tarball_add) $(man_pages) +@PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2: $(tarball_add) rm -rf $(tarball_pfx).tar.bz2 $(tarball_pfx) git-archive --format=tar --prefix=$(tarball_pfx)/ HEAD \ | tar --delete $(tarball_delete) > $(tarball_pfx).tar mkdir $(tarball_pfx) cp -r $(tarball_add) $(tarball_pfx) - mkdir -p $(tarball_pfx)/man/man1 - cp -r $(man_pages) $(tarball_pfx)/man/man1 tar rf $(tarball_pfx).tar $(tarball_pfx)/* rm -rf $(tarball_pfx) bzip2 -9 $(tarball_pfx).tar