[Mono-dev] cosmetic sqlsharpgtk patch to install exe.config

Daniel Morgan monodanmorg at yahoo.com
Tue Jan 2 12:14:03 EST 2007


Looks good.  Feel free to commit.

The .config.in file was meant to be copied to a
.config file.  This way, you can change it for your
specific settings.  Yet, when you do a svn commit, the
config file would not get committed as well.  As far
as I can recall, I got this idea from FreeTDS with
their PWD file.  You copied your PWD.in file you got
from cvs to a PWD file.  If you wanted the changes to
the PWD file committed, you would modify the .in file.

However, the app settings file usually goes where the
executable is located, and this could be read only.  I
wonder if I should be sticking a .sqlsharpgtk file in
the user's $HOME for these settings.

Any ideas?

--- atsushi eno <atsushi at ximian.com> wrote:

> Hi,
> 
> Here is a cosmetic patch to make sqlsharpgtk to
> install
> sqlsharp.exe.config. It won't work unless you trim
> ".in" from
> sqlsharpgtk.exe.config.in (I don't think this ".in"
> is needed
> so I simply renamed it). Without it sqlsharpgtk
> won't show
> any drivers to connect to databases.
> 
> Atsushi Eno
> 
> > Index: sqlsharpgtk/Makefile.am
>
===================================================================
> --- sqlsharpgtk/Makefile.am	(リビジョン 70316)
> +++ sqlsharpgtk/Makefile.am	(作業コピー)
> @@ -25,12 +25,12 @@
>  # Install Unstable Mono Libraries (see
> configure.ac)
>  
>  install-data-hook:
> -	for ASM in $(INSTALLED_ASSEMBLIES); do \
> +	for ASM in $(INSTALLED_ASSEMBLIES)
> sqlsharpgtk.exe.config; do \
>  		$(INSTALL) -c -m 0755 $$ASM
> $(DESTDIR)$(pkglibdir); \
>  	done;
>  
>  uninstall-hook:
> -	for ASM in $(INSTALLED_ASSEMBLIES); do \
> +	for ASM in $(INSTALLED_ASSEMBLIES)
> sqlsharpgtk.exe.config; do \
>  		rm -f $(DESTDIR)$(pkglibdir)/`basename $$ASM`; \
>  	done;
>  
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Mono-devel-list mailing list