]> git.meshlink.io Git - catta/blobdiff - avahi-ui/Makefile.am
get rid of a lot of old svn cruft
[catta] / avahi-ui / Makefile.am
index 910dc6b1c5738194baaccd46ba7bb1c1e9a01451..9d5a07ab271d4ee8379d787db816280dd2ef9fc5 100644 (file)
@@ -1,7 +1,5 @@
-# $Id$
-#
 # This file is part of avahi.
-# 
+#
 # avahi is free software; you can redistribute it and/or modify it
 # under the terms of the GNU Lesser General Public License as
 # published by the Free Software Foundation; either version 2 of the
@@ -23,14 +21,14 @@ AM_CFLAGS=-I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -D
 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
 
 desktopdir = $(datadir)/applications
-desktop_DATA = 
+desktop_DATA =
 desktop_DATA_in = $(desktop_DATA_in_in:.in.in=.in)
 desktop_DATA_in_in = bssh.desktop.in.in bvnc.desktop.in.in
 
 EXTRA_DIST = $(desktop_DATA_in_in)
 
-
 if HAVE_GTK
+AM_CFLAGS += -DGNOMELOCALEDIR=\"$(datadir)/locale\"
 if HAVE_DBUS
 if HAVE_GLIB
 
@@ -40,7 +38,7 @@ avahiinclude_HEADERS = \
        avahi-ui.h
 
 lib_LTLIBRARIES = \
-       libavahi-ui.la 
+       libavahi-ui.la
 
 libavahi_ui_la_SOURCES = \
        avahi-ui.h avahi-ui.c
@@ -61,6 +59,7 @@ endif
 
 bin_PROGRAMS = bssh
 desktop_DATA += bssh.desktop bvnc.desktop
+@INTLTOOL_DESKTOP_RULE@
 
 bssh_SOURCES = bssh.c
 bssh_CFLAGS = $(AM_CFLAGS) $(GTK20_CFLAGS)
@@ -73,10 +72,10 @@ install-exec-local:
                $(LN_S) bssh bshell
 
 bssh.desktop.in: bssh.desktop.in.in
-       sed -e 's,@bindir\@,$(bindir),g' $< > $@
+       $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
 
 bvnc.desktop.in: bvnc.desktop.in.in
-       sed -e 's,@bindir\@,$(bindir),g' $< > $@
+       $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
 
 endif # HAVE_GLIB
 endif