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

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