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

DEFAULT _STYLE = @DEFAULT_STYLE@

SUBDIRS= 		styles
CLEANFILES= 		menu menu.in menu.pre menu.bak init
MAINTAINERCLEANFILES= 	Makefile.in
pkgdata_DATA= 		keys menu init
EXTRA_DIST= 		keys init.in README.style README.menu README
all-local: 		menu init
distclean-local:
		rm -f *\~
init: 			init.in
	@regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \
			-e "s,@default_style@,$(DEFAULT_STYLE),g" $(srcdir)/init.in > init

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

../util/fluxbox-generate_menu:
	cd ../util && ${MAKE} fluxbox-generate_menu