From 648878eac26183e145903880ec6bbad035b6a1b6 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 23 Aug 2007 17:25:42 +0000 Subject: New menu --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f9c048a..be01fb5 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,18 @@ TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') mandir=/usr/share/man SVNROOT = svn+ssh://svn.mandriva.com/svn/soft/$(PACKAGE) +menus: applications.menu kde-applications.menu + +applications.menu: menu/applications.menu.in + @echo -n "generating $@" + @sed -e 's,@MAIN_DESKTOP@,GNOME,g' -e 's,@MAIN_TOOLKIT@,GTK,g' < $? > $@ + @echo " OK" + +kde-applications.menu: menu/applications.menu.in + @echo -n "generating $@" + @sed -e 's,@MAIN_DESKTOP@,KDE,g' -e 's,@MAIN_TOOLKIT@,Qt,g' < $? > $@ + @echo " OK" + checktag: @if [ "x$(VERSION)" == "x" -o "x$(RELEASE)" = "x" ]; then \ echo usage is "make VERSION=version_number RELEASE=release_number dist" ; \ @@ -12,6 +24,7 @@ checktag: clean: find . -type d -name '.xvpics' -o -name '*~' |xargs rm -rf + rm -f applications.menu kde-applications.menu # rules to build a test rpm -- cgit v1.2.1