aboutsummaryrefslogtreecommitdiff
path: root/data/Makemodule.am
blob: a1c15e4df66d5dd21a84a48465d221480ef73beb (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
# data/Makefile.am for Fluxbox - an X11 Window manager

EXTRA_DIST += \
	data/keys \
	data/overlay \
	data/windowmenu

PATHFILES += \
	data/apps \
	data/init

include data/styles/carp/Makemodule.am
include data/styles/bora_blue/Makemodule.am
include data/styles/green_tea/Makemodule.am
include data/styles/bora_green/Makemodule.am
include data/styles/Makemodule.am
include data/styles/zimek_bisque/Makemodule.am
include data/styles/bloe/pixmaps/Makemodule.am
include data/styles/bloe/Makemodule.am
include data/styles/Emerge/pixmaps/Makemodule.am
include data/styles/Emerge/Makemodule.am
include data/styles/ostrich/Makemodule.am
include data/styles/zimek_green/Makemodule.am
include data/styles/zimek_darkblue/Makemodule.am
include data/styles/BlueFlux/pixmaps/Makemodule.am
include data/styles/BlueFlux/Makemodule.am
include data/styles/bora_black/Makemodule.am
include data/styles/arch/pixmaps/Makemodule.am
include data/styles/arch/Makemodule.am

pkgdata_FILES = data/init data/keys data/apps data/overlay data/menu

install-data-local: $(pkgdata_FILES)
	@echo "Installing menu file in $(DESTDIR)$(DEFAULT_MENU)"
	$(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_MENU))
	$(INSTALL_DATA) ./data/menu $(DESTDIR)$(DEFAULT_MENU)
	@echo "Installing keys file in $(DESTDIR)$(DEFAULT_KEYS)"
	$(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_KEYS))
	$(INSTALL_DATA) $(srcdir)/data/keys $(DESTDIR)$(DEFAULT_KEYS)
	@echo "Installing apps file in $(DESTDIR)$(DEFAULT_APPS)"
	$(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_APPS))
	$(INSTALL_DATA) ./data/apps $(DESTDIR)$(DEFAULT_APPS)
	@echo "Installing overlay file in $(DESTDIR)$(DEFAULT_OVERLAY)"
	$(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_OVERLAY))
	$(INSTALL_DATA) $(srcdir)/data/overlay $(DESTDIR)$(DEFAULT_OVERLAY)
	@echo "Installing init file in $(DESTDIR)$(DEFAULT_INIT)"
	$(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_INIT))
	$(INSTALL_DATA) ./data/init $(DESTDIR)$(DEFAULT_INIT)
	@echo "Installing windowmenu file in $(DESTDIR)$(DEFAULT_WINDOWMENU)"
	$(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_WINDOWMENU))
	$(INSTALL_DATA) $(srcdir)/data/windowmenu $(DESTDIR)$(DEFAULT_WINDOWMENU)

data/menu:
	env MENUFILENAME=$@ \
		PREFIX="${prefix}" \
		MENUTITLE="Fluxbox-${VERSION}" \
		INSTALL=Yes \
		PATH="${PATH}:../util:../util/fbrun" \
		sh util/fluxbox-generate_menu