summaryrefslogtreecommitdiff
path: root/x11/lxlauncher/patches/patch-Makefile.in
blob: d85c3893a59b0c51206cce36f4481064bdb30a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
$NetBSD: patch-Makefile.in,v 1.1 2016/05/23 10:38:14 youri Exp $

Fix config file install.

--- Makefile.in.orig	2016-02-20 23:50:42.000000000 +0000
+++ Makefile.in
@@ -350,20 +350,24 @@ sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
 sysconfdir = @sysconfdir@
+exampledir = ${datadir}/examples
 target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 SUBDIRS = src po
 confdir = $(sysconfdir)/xdg/lxlauncher
+confexampledir = $(exampledir)/lxlauncher
 conf_in_files = settings.conf.in
 conf_DATA = $(conf_in_files:.conf.in=.conf)
 themedir = $(confdir)
+themeexampledir = $(exampledir)/lxlauncher
 theme_DATA = \
 	gtkrc \
 	gtk.css
 
 menufiledir = $(sysconfdir)/xdg/menus
+menufileexampledir = $(exampledir)/menus
 menufile_DATA = \
 	data/lxlauncher-applications.menu
 
@@ -493,18 +497,18 @@ uninstall-man1:
 	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
 install-confDATA: $(conf_DATA)
 	@$(NORMAL_INSTALL)
-	@list='$(conf_DATA)'; test -n "$(confdir)" || list=; \
+	@list='$(conf_DATA)'; test -n "$(confexampledir)" || list=; \
 	if test -n "$$list"; then \
-	  echo " $(MKDIR_P) '$(DESTDIR)$(confdir)'"; \
-	  $(MKDIR_P) "$(DESTDIR)$(confdir)" || exit 1; \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(confexampledir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(confexampledir)" || exit 1; \
 	fi; \
 	for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  echo "$$d$$p"; \
 	done | $(am__base_list) | \
 	while read files; do \
-	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confdir)'"; \
-	  $(INSTALL_DATA) $$files "$(DESTDIR)$(confdir)" || exit $$?; \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confexampledir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(confexampledir)" || exit $$?; \
 	done
 
 uninstall-confDATA:
@@ -535,18 +539,18 @@ uninstall-directoryDATA:
 	dir='$(DESTDIR)$(directorydir)'; $(am__uninstall_files_from_dir)
 install-menufileDATA: $(menufile_DATA)
 	@$(NORMAL_INSTALL)
-	@list='$(menufile_DATA)'; test -n "$(menufiledir)" || list=; \
+	@list='$(menufile_DATA)'; test -n "$(menufileexampledir)" || list=; \
 	if test -n "$$list"; then \
-	  echo " $(MKDIR_P) '$(DESTDIR)$(menufiledir)'"; \
-	  $(MKDIR_P) "$(DESTDIR)$(menufiledir)" || exit 1; \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(menufileexampledir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(menufileexampledir)" || exit 1; \
 	fi; \
 	for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  echo "$$d$$p"; \
 	done | $(am__base_list) | \
 	while read files; do \
-	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(menufiledir)'"; \
-	  $(INSTALL_DATA) $$files "$(DESTDIR)$(menufiledir)" || exit $$?; \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(menufilexampledir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(menufileexampledir)" || exit $$?; \
 	done
 
 uninstall-menufileDATA:
@@ -556,18 +560,18 @@ uninstall-menufileDATA:
 	dir='$(DESTDIR)$(menufiledir)'; $(am__uninstall_files_from_dir)
 install-themeDATA: $(theme_DATA)
 	@$(NORMAL_INSTALL)
-	@list='$(theme_DATA)'; test -n "$(themedir)" || list=; \
+	@list='$(theme_DATA)'; test -n "$(themeexampledir)" || list=; \
 	if test -n "$$list"; then \
-	  echo " $(MKDIR_P) '$(DESTDIR)$(themedir)'"; \
-	  $(MKDIR_P) "$(DESTDIR)$(themedir)" || exit 1; \
+	  echo " $(MKDIR_P) '$(DESTDIR)$(themeexampledir)'"; \
+	  $(MKDIR_P) "$(DESTDIR)$(themeexampledir)" || exit 1; \
 	fi; \
 	for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  echo "$$d$$p"; \
 	done | $(am__base_list) | \
 	while read files; do \
-	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themedir)'"; \
-	  $(INSTALL_DATA) $$files "$(DESTDIR)$(themedir)" || exit $$?; \
+	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(themeexampledir)'"; \
+	  $(INSTALL_DATA) $$files "$(DESTDIR)$(themeexampledir)" || exit $$?; \
 	done
 
 uninstall-themeDATA: