aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-12 09:40:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-12 09:40:39 +0000
commit6ba17da2ed0430eea39cab733daf3403e613bf08 (patch)
tree131214f5fbc39e26b0d66435bdb857ab4fb46903 /Makefile
parentb5b33d79d83c212d2f5c83635f1c079c51c3879d (diff)
downloadrpmdrake-6ba17da2ed0430eea39cab733daf3403e613bf08.tar
rpmdrake-6ba17da2ed0430eea39cab733daf3403e613bf08.tar.gz
rpmdrake-6ba17da2ed0430eea39cab733daf3403e613bf08.tar.bz2
rpmdrake-6ba17da2ed0430eea39cab733daf3403e613bf08.tar.xz
rpmdrake-6ba17da2ed0430eea39cab733daf3403e613bf08.zip
add list of programs with GUI view (#36486)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b64a6e9c..972009ce 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ RELATIVE_SBIN = ../sbin
RPM=$(shell rpm --eval %_topdir)
PERL_VENDORLIB=$(DESTDIR)/$(shell perl -V:installvendorlib | perl -pi -e "s/.*=//; s/[;']//g")
-all: dirs
+all: dirs gui.lst
dirs:
@for n in . $(DIRS); do \
@@ -39,6 +39,7 @@ install: $(ALL)
ln -sf $(RELATIVE_SBIN)/drakrpm-update $(BINDIR)/drakrpm-update
install -d $(DATADIR)/rpmdrake/icons
install -m644 icons/*.png $(DATADIR)/rpmdrake/icons
+ install -m644 gui.lst $(DATADIR)/rpmdrake
install -m644 compssUsers.flat.default $(DATADIR)/rpmdrake
mkdir -p $(PERL_VENDORLIB)/Rpmdrake
install -m 644 rpmdrake.pm $(PERL_VENDORLIB)
@@ -58,6 +59,9 @@ dis: clean
lzma ../$(NAME)-$(VERSION).tar
rm -rf $(NAME)-$(VERSION)
+gui.lst:
+ urpmf "/usr/share/applications/.*.desktop" |sed -e 's!:.*!!' |sort|uniq>gui.lst
+
.PHONY: ChangeLog log changelog
log: ChangeLog