summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 40fd2c4c3661ed2e197c51c108826047485e35de (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 = keys menu init
EXTRA_DIST= 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