summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile8
-rw-r--r--data/gnome-autostart-draksnapshot.desktop.in8
2 files changed, 3 insertions, 13 deletions
diff --git a/data/Makefile b/data/Makefile
index a3206e9..338af4c 100644
--- a/data/Makefile
+++ b/data/Makefile
@@ -1,4 +1,4 @@
-DATADIR = $(PREFIX)/usr/share
+SYSCONFDIR = $(PREFIX)/etc
DESKTOP_IN := $(wildcard *.desktop.in)
DESKTOP = $(DESKTOP_IN:.desktop.in=.desktop)
@@ -9,10 +9,8 @@ clean:
rm -f $(DESKTOP)
install: all
- mkdir -p $(DATADIR)/autostart
- install autostart-draksnapshot.desktop $(DATADIR)/autostart/
- mkdir -p $(DATADIR)/gnome/autostart
- install gnome-autostart-draksnapshot.desktop $(DATADIR)/gnome/autostart/
+ mkdir -p $(SYSCONFDIR)/xdg/autostart
+ install autostart-draksnapshot.desktop $(SYSCONFDIR)/xdg/autostart/
%.desktop: %.desktop.in
diff --git a/data/gnome-autostart-draksnapshot.desktop.in b/data/gnome-autostart-draksnapshot.desktop.in
deleted file mode 100644
index 9ec7973..0000000
--- a/data/gnome-autostart-draksnapshot.desktop.in
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=DrakSnapshot Applet
-Comment=Applet for DrakSnapshot
-Exec=/usr/bin/draksnapshot-applet
-Icon=draksnapshot-applet
-Type=Application
-StartupNotify=true
-Categories=X-MandrivaLinux-System-Configuration-Networking;Settings;Network;