diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2007-08-23 17:25:42 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2007-08-23 17:25:42 +0000 |
commit | 648878eac26183e145903880ec6bbad035b6a1b6 (patch) | |
tree | 736e967c0e2c5d4cd09ad7c164944b362cb6f973 /Makefile | |
parent | 65c1889a15e29dd0d2ff21c57bdf44428faebec5 (diff) | |
download | common-data-648878eac26183e145903880ec6bbad035b6a1b6.tar common-data-648878eac26183e145903880ec6bbad035b6a1b6.tar.gz common-data-648878eac26183e145903880ec6bbad035b6a1b6.tar.bz2 common-data-648878eac26183e145903880ec6bbad035b6a1b6.tar.xz common-data-648878eac26183e145903880ec6bbad035b6a1b6.zip |
New menu
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |