Add KDE notification support.
[dhcpcd-ui] / src / dhcpcd-gtk / Makefile
index 301f37ca63e7c0c5e658d8f9faeeb58a61b29994..3652970a094b3acb713229244de0d0052eb375f2 100644 (file)
@@ -2,17 +2,26 @@ PROG=         dhcpcd-gtk
 SRCS=          main.c menu.c prefs.c wpa.c
 
 TOPDIR=                ../..
-include ${TOPDIR}/config.mk
+include ${TOPDIR}/iconfig.mk
 
 ICONDIR?=      ${PREFIX}/share/dhcpcd/icons
-AUTOSTARTDIR?= ${PREFIX}/share/gnome/autostart
-FILESDIR=      ${AUTOSTARTDIR}
+APPDIR?=       ${PREFIX}/share/applications
+AUTOSTARTDIR?= ${SYSCONFDIR}/xdg/autostart
+FILESDIR=      ${APPDIR}
 FILES=         dhcpcd-gtk.desktop
+FILESDIR2=     ${AUTOSTARTDIR}
+FILES2=                dhcpcd-gtk.desktop
+MAN8=          dhcpcd-gtk.8
 
 CPPFLAGS+=     ${NOTIFY} -I${TOPDIR}
 
 CFLAGS+=       ${GTK_CFLAGS}
 LDADD+=                ${LIB_DHCPCD} ${GTK_LIBS}
 
+.PHONY: dhcpcd-gtk
+
 include ../libdhcpcd/Makefile.inc
+
+FILESINSTALL=  _filesinstall
 include ${MKDIR}/prog.mk
+include ${MKDIR}/files.mk