[Dh-make-php-devel] Re: [Dh-make-php-commits] r187 - trunk

Uwe Steinmann uwe at steinmann.cx
Tue May 30 14:51:47 UTC 2006


On Tue, May 30, 2006 at 02:30:46PM +0000, Charles Fry wrote:
> Author: cfry-guest
> Date: 2006-05-30 14:30:45 +0000 (Tue, 30 May 2006)
> New Revision: 187
> 
> Modified:
>    trunk/pear.mk
> Log:
> only mkdir if going to mv stuff
> 
> 
> Modified: trunk/pear.mk
> ===================================================================
> --- trunk/pear.mk	2006-05-30 11:56:04 UTC (rev 186)
> +++ trunk/pear.mk	2006-05-30 14:30:45 UTC (rev 187)
> @@ -72,8 +72,8 @@
>  		install --nodeps -R $(DEB_DESTDIR) $(PEAR_SOURCE_DIR)/package.xml
>  
>  	# move documentation to correct location
> -	mkdir -p $(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR)
>  	if [ -d $(DEB_DESTDIR)$(PEAR_OLD_DOC_DIR) ] ; then \
> +		mkdir -p $(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR)
>  		mv -i $(DEB_DESTDIR)$(PEAR_OLD_DOC_DIR)/* $(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR); \
>  		ln -s ../../doc/$(DEB_PACKAGES) $(DEB_DESTDIR)$(PEAR_OLD_DOC_DIR); \
>  	fi ;
Are you sure this is a good idea?

The later copying of changelog will fail if the pear package doesn't
have a docs directory.

  Uwe

-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  Uwe.Steinmann at mmk-hagen.de
  Tel: +2331 840446    Fax: +2331 843920
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/dh-make-php-devel/attachments/20060530/75c67d54/attachment.pgp


More information about the Dh-make-php-devel mailing list