[pacman-dev] [PATCH] Compress manpages only after checking for $srcdir and $pkgdir

Allan McRae allan at archlinux.org
Wed Jan 23 10:38:42 EST 2013


On 11/01/13 13:00, Chirantan Ekbote wrote:
> Move the manpage compression code from tidy_install to create_package. Since
 tidy_install could remove a backup file, it should go before check_package.
> Alternatively, we could move all the code from tidy_install into create_package
> since those two are always called together.  
> 
> Fixes FS#33318.
> 
> Signed-off-by: Chirantan Ekbote <chirantan.ekbote at gmail.com>
> --- 

I definitely do not want this in create_package.

What I would like to see is tidy_install rearranged with check_install
added in.

So tidy_install should do:
	removal operations
	 - docs
	 - purge
	 - libtool
	 - emptydirs
	check for missing backup files
	grep for srcdir/pkgdir
	zipman
	strip
	upx



Eventually we should just move this all into some sort of modular
hooklike format like:
  10-docs
  20-purge
  ...
but we need to be set-up for makepkg splitting first...




More information about the pacman-dev mailing list