From dd3bb578c9e22a4ceb8f0cb8a2f17b4c82c9f982 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Fri, 24 May 2002 11:30:19 +0000
Subject: fluxbox-generate_menu

---
 data/Makefile.am | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 40fd2c4..69916c1 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,16 +1,15 @@
 # data/Makefile.am for Fluxbox - an X11 Window manager
 
 SUBDIRS = styles
+bin_SCRIPTS = fluxbox-generate_menu
 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
+EXTRA_DIST= keys init.in fluxbox-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
+	@regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" init.in > init
+menu: fluxbox-generate_menu
+	sh ./fluxbox-generate_menu -o menu -p ${prefix}/share -m "Fluxbox-${VERSION}"
-- 
cgit v0.11.2