make data/Makefile.am OOT compatible
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 30 Oct 2008 23:30:24 +0000 (23:30 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 30 Oct 2008 23:30:24 +0000 (23:30 +0000)
data/Makefile.am

index 05b609c..dd6d1b0 100644 (file)
@@ -3,11 +3,11 @@ dbussystemdir=/etc/dbus-1/system.d
 dist_dbussystem_DATA=pam_dbus.conf
 
 autostartdir=/etc/xdg/autostart
-dist_autostart_DATA=pam-dbus-notify.desktop
-CLEANFILES = $(dist_autostart_DATA)
+nodist_autostart_DATA=pam-dbus-notify.desktop
+CLEANFILES = $(nodist_autostart_DATA)
 EXTRA_DIST = pam-dbus-notify.desktop.in
 
 pam-dbus-notify.desktop: pam-dbus-notify.desktop.in Makefile
        sed -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
-             < pam-dbus-notify.desktop.in > pam-dbus-notify.desktop
+             < $(srcdir)/pam-dbus-notify.desktop.in > pam-dbus-notify.desktop