aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am32
1 files changed, 19 insertions, 13 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c586c77..3fda5cc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,16 +1,22 @@
1# data/Makefile.am for Fluxbox - an X11 Window manager 1# data/Makefile.am for Fluxbox - an X11 Window manager
2 2
3SUBDIRS = styles 3SUBDIRS= styles
4CLEANFILES = menu menu.in menu.pre init 4CLEANFILES= menu menu.in menu.pre menu.bak init
5MAINTAINERCLEANFILES = Makefile.in 5MAINTAINERCLEANFILES= Makefile.in
6pkgdata_DATA = titlebar keys menu init 6pkgdata_DATA= keys menu init
7EXTRA_DIST= titlebar keys init.in generate_menu README.style README.menu README 7EXTRA_DIST= keys init.in README.style README.menu README
8all-local: menu init 8all-local: menu init
9distclean-local: 9distclean-local:
10 rm -f *\~ 10 rm -f *\~
11init: init.in 11init: init.in
12 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init 12 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" init.in > init
13menu: generate_menu 13
14 ./generate_menu 14menu: ../util/fluxbox-generate_menu
15 @regex_cmd@ -e "s,\@VERSION\@,$(VERSION)," menu.in > menu.pre 15 env MENUFILENAME=menu \
16 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," menu.pre > menu 16 PREFIX="${prefix}" \
17 MENUTITLE="Fluxbox-${VERSION}" \
18 INSTALL=Yes \
19 ../util/fluxbox-generate_menu
20
21../util/fluxbox-generate_menu:
22 cd ../util && ${MAKE} fluxbox-generate_menu