diff options
Diffstat (limited to 'data/Makefile')
-rw-r--r-- | data/Makefile | 8 |
1 files changed, 3 insertions, 5 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 |