← Back to team overview

dolfin team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 5096: Disable installation of DOLFIN demo dir - copies all files across (even garbage if present).]

 


On 24/08/10 13:32, Anders Logg wrote:
> It's important to get the installation of demos in place.
> 
> Dorsal points to $prefix/share/dolfin/demo at the end of installation.
>

It just needs to be done properly - the generate_cmake script can be
modified to add an install target.

Garth


> --
> Anders
> 
> 
> On Tue, Aug 24, 2010 at 02:18:29PM +0200, Anders Logg wrote:
>> Isn't the same thing true for dolfin_utils?
>>
>> There's less chance of garbage but there can be things like .pyc
>> files.
>>
> 
> Return-Path: <bounces@xxxxxxxxxxxxx>
> Received: from mail-imap5.uio.no ([unix socket])
> 	by mail-imap5.uio.no (Cyrus v2.3.16) with LMTPA;
> 	Tue, 24 Aug 2010 14:13:23 +0200
> X-Sieve: CMU Sieve 2.3
> Delivery-date: Tue, 24 Aug 2010 14:13:23 +0200
> Received: from mail-mx4.uio.no ([129.240.10.45])
> 	by mail-imap5.uio.no with esmtp (Exim 4.69)
> 	(envelope-from <bounces@xxxxxxxxxxxxx>) id 1OnsNX-0001rf-Ox
> 	for logg@xxxxxxxxx; Tue, 24 Aug 2010 14:13:23 +0200
> Received: from adelie.canonical.com ([91.189.90.139])
> 	by mail-mx4.uio.no with esmtp  (Exim 4.69)
> 	(envelope-from <bounces@xxxxxxxxxxxxx>) id 1OnsNX-0003kK-86
> 	for logg@xxxxxxxxx; Tue, 24 Aug 2010 14:13:23 +0200
> Received: from loganberry.canonical.com ([91.189.90.37])
> 	by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian))
> 	id 1OnsNW-00028v-NU
> 	for <logg@xxxxxxxxx>; Tue, 24 Aug 2010 13:13:22 +0100
> Received: from loganberry.canonical.com (localhost [127.0.0.1])
> 	by loganberry.canonical.com (Postfix) with ESMTP id AE9C22E8009
> 	for <logg@xxxxxxxxx>; Tue, 24 Aug 2010 13:13:22 +0100 (BST)
> Content-Type: multipart/mixed; boundary="===============6281064323170711814=="
> MIME-Version: 1.0
> X-Launchpad-Project: dolfin
> X-Launchpad-Branch: ~dolfin-core/dolfin/main
> X-Launchpad-Message-Rationale: Subscriber @dolfin-core
> X-Launchpad-Branch-Revision-Number: 5096
> X-Launchpad-Notification-Type: branch-revision
> To: Anders Logg <logg@xxxxxxxxx>
> From: noreply@xxxxxxxxxxxxx
> Subject: [Branch ~dolfin-core/dolfin/main] Rev 5096: Disable installation of
> 	DOLFIN demo dir - copies all files across (even garbage if present).
> Message-Id: <20100824121322.30215.61142.launchpad@xxxxxxxxxxxxxxxxxxxxxxxx>
> Date: Tue, 24 Aug 2010 12:13:22 -0000
> Reply-To: noreply@xxxxxxxxxxxxx
> Sender: bounces@xxxxxxxxxxxxx
> Errors-To: bounces@xxxxxxxxxxxxx
> Precedence: bulk
> X-Generated-By: Launchpad (canonical.com); Revision="None";
> 	Instance="initZopeless config overlay"
> X-Launchpad-Hash: 4d1f4ce10b1888675f06ef18dec7a09e2bb0b917
> X-UiO-MailScanner: No virus found
> X-UiO-Spam-info: not spam, SpamAssassin (score=-0.7, required=5.0,
> 	autolearn=disabled, MIME_QP_LONG_LINE=0.001,
> 	RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01, uiobl=NO,
> 	uiouri=NO)
> X-UiO-Scanned: 8718F17AA3AD9BE49F13EA2C2C68C497BD7DA8A5
> X-UiO-SPAM-Test: remote_host: 91.189.90.139 spam_score: -6 maxlevel 30
> 	minaction 1 bait 0 mail/h: 29 total 31493 max/h 214 blacklist 0
> 	greylist 0 ratelimit 0
>>
>> ------------------------------------------------------------
>> revno: 5096
>> committer: Garth N. Wells <gnw20@xxxxxxxxx>
>> branch nick: dolfin-cmake
>> timestamp: Tue 2010-08-24 13:09:38 +0100
>> message:
>>   Disable installation of DOLFIN demo dir - copies all files across (even garbage if present).
>>
>>   We should eventually use 'add_subdirectory' if demos are enabled (and likewise for tests).
>> modified:
>>   CMakeLists.txt
>>
>>
> 
>> === modified file 'CMakeLists.txt'
>> --- CMakeLists.txt	2010-08-23 20:50:09 +0000
>> +++ CMakeLists.txt	2010-08-24 12:09:38 +0000
>> @@ -307,9 +307,9 @@
>>  #------------------------------------------------------------------------------
>>  # Installation of DOLFIN demos
>>
>> -install(DIRECTORY ${CMAKE_SOURCE_DIR}/demo
>> -        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dolfin
>> -        USE_SOURCE_PERMISSIONS)
>> +#install(DIRECTORY ${CMAKE_SOURCE_DIR}/demo
>> +#        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dolfin
>> +#        USE_SOURCE_PERMISSIONS)
>>
>>  #------------------------------------------------------------------------------
>>  # Generate and install helper file dolfin.conf
>>
> 
> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dolfin
>> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dolfin
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> --
> Anders
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



References