summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: e0dd965a296efe9bbe776910176ffa29fee9b76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 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