do not hardcode the psensor desktop file name.
[psensor.git] / src / Makefile.am
index 1dd2d52..5057822 100644 (file)
@@ -13,6 +13,7 @@ endif
 AM_CPPFLAGS = -Wno-deprecated-declarations -Wall -Werror \
        -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
        -DDATADIR=\""$(datadir)"\"\
+       -DPSENSOR_DESKTOP_FILE=\""psensor.desktop"\"\
        -I$(top_srcdir)/src/lib \
        -I$(top_srcdir)/src/unity \
        $(GTK_CFLAGS)\