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

SUBDIRS= 		styles
CLEANFILES= 		menu menu.in menu.pre menu.bak init startup
MAINTAINERCLEANFILES= 	Makefile.in
pkgdata_DATA= 		keys menu init startup
EXTRA_DIST= 		keys init.in startup.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

startup: 		startup.in
	@regex_cmd@ -e "s,@pkgbindir@,$(bindir),g" \
		startup.in > startup

../util/fluxbox-generate_menu:
	cd ../util && make fluxbox-generate_menu