[avahi] Re: sed and Service Discovery applet
Sebastien Estienne
sebastien.estienne at gmail.com
Sun Aug 6 11:44:04 PDT 2006
thanx padraig the modification has been commited in rev 111
On 8/1/06, Padraig O'Briain <Padraig.Obriain at sun.com> wrote:
> Would you consider the following change:
>
> Rename GNOME_ServiceDiscoveryApplet.server.in to
> GNOME_ServiceDiscoveryApplet.server.in.in
>
> and change Makefile.am to
>
> serversdir = $(libdir)/bonobo/servers/
> servers_in_files = GNOME_ServiceDiscoveryApplet.server.in
> servers_DATA = $(servers_in_files:.server.in=.server)
> @INTLTOOL_SERVER_RULE@
>
>
> GNOME_ServiceDiscoveryApplet.server.in:
> GNOME_ServiceDiscoveryApplet.server.in.in
> sed -e 's, at bindir\@,$(bindir),g' -e
> 's, at iconsdir\@,$(ICONSDIR),g' $< > $@
>
> EXTRA_DIST = GNOME_ServiceDiscoveryApplet.server.in.in
>
> CLEANFILES = $(servers_DATA) $(servers_in_files)
>
>
> Padraig
>
> Sebastien Estienne wrote:
> >
> > Le 1 août 06 à 12:10, Padraig O'Briain a écrit :
> >
> >> When building the Service Discovery applet sed -i is called by
> >> Makefile in servers directory.
> >>
> >> On Solaris, sed does not have -i option.
> >>
> >> Is the -i option necessary?
> >>
> > -i allow to edit in place instead of doing
> > sed -e '/something/else/g' myfile > myfile.tmp && mv myfile.tmp myfile
> >
> >> Padraig
> >> _______________________________________________
> >> avahi mailing list
> >> avahi at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/avahi
> >
> > _______________________________________________
> > avahi mailing list
> > avahi at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/avahi
>
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
--
Sebastien Estienne
More information about the avahi
mailing list