summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 6b50932299d87aae46d4c7b14ce6c4ac82e00a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# data/Makefile.am for Fluxbox - an X11 Window manager

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" 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