diff options
Diffstat (limited to 'data/Makefile.am')
-rw-r--r-- | data/Makefile.am | 32 |
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 | ||
3 | SUBDIRS = styles | 3 | SUBDIRS= styles |
4 | CLEANFILES = menu menu.in menu.pre init | 4 | CLEANFILES= menu menu.in menu.pre menu.bak init |
5 | MAINTAINERCLEANFILES = Makefile.in | 5 | MAINTAINERCLEANFILES= Makefile.in |
6 | pkgdata_DATA = titlebar keys menu init | 6 | pkgdata_DATA= keys menu init |
7 | EXTRA_DIST= titlebar keys init.in generate_menu README.style README.menu README | 7 | EXTRA_DIST= keys init.in README.style README.menu README |
8 | all-local: menu init | 8 | all-local: menu init |
9 | distclean-local: | 9 | distclean-local: |
10 | rm -f *\~ | 10 | rm -f *\~ |
11 | init: init.in | 11 | init: init.in |
12 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," init.in > init | 12 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" init.in > init |
13 | menu: generate_menu | 13 | |
14 | ./generate_menu | 14 | menu: ../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 | ||