From d2abe6be23da98a229718bc6de0447f133867f69 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 11 Jan 2008 14:15:41 +0100 Subject: [PATCH] Remove man pages from tarball. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- Makefile.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.39.5