X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-ui%2FMakefile.am;h=c5ef64d22493bcb671fb23fbc5254cc276276627;hb=0c8dbe5f8c994ff69a6dc77a27f47cd0719660b7;hp=442f7d1e3528311c7dc2f16bd54e20c264cd47cb;hpb=bbe8d301e832744389f2c32cf440dd60f918bad7;p=catta diff --git a/avahi-ui/Makefile.am b/avahi-ui/Makefile.am index 442f7d1..c5ef64d 100644 --- a/avahi-ui/Makefile.am +++ b/avahi-ui/Makefile.am @@ -25,6 +25,9 @@ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' desktopdir = $(datadir)/applications desktop_DATA = +EXTRA_DIST = bssh.desktop.in bvnc.desktop.in + + if HAVE_GTK if HAVE_DBUS @@ -53,25 +56,25 @@ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\" endif -bin_PROGRAMS = zssh -desktop_DATA += zssh.desktop zvnc.desktop +bin_PROGRAMS = bssh +desktop_DATA += bssh.desktop bvnc.desktop -zssh_SOURCES = zssh.c -zssh_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS) -zssh_LDADD = $(AM_LDADD) $(GTK20_LIBS) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la libavahi-ui.la +bssh_SOURCES = bssh.c +bssh_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS) +bssh_LDADD = $(AM_LDADD) $(GTK20_LIBS) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la libavahi-ui.la install-exec-local: cd $(DESTDIR)/$(bindir) && \ - rm -f zvnc && \ - $(LN_S) zssh zvnc + rm -f bvnc && \ + $(LN_S) bssh bvnc -zssh.desktop: zssh.desktop.in +bssh.desktop: bssh.desktop.in sed -e 's,@bindir\@,$(bindir),g' $< > $@ - chmod +x $@ -zvnc.desktop: zvnc.desktop.in +bvnc.desktop: bvnc.desktop.in sed -e 's,@bindir\@,$(bindir),g' $< > $@ - chmod +x $@ endif endif + +CLEANFILES = $(desktop_DATA)