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,@bindir\@,$(bindir),g' -e 's,@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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to