diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -1,7 +1,7 @@ VERSION = 5.50 NAME = rpmdrake -DIRS = po polkit/policy data mime +DIRS = po polkit data mime PREFIX = /usr/local DATADIR = $(PREFIX)/share @@ -9,7 +9,7 @@ BINDIR = $(PREFIX)/bin SBINDIR = $(PREFIX)/sbin LIBEXECDIR = $(PREFIX)/libexec RPM=$(shell rpm --eval %_topdir) -PERL_VENDORLIB=$(DESTDIR)/$(shell perl -V:installvendorlib | perl -pi -e "s/.*=//; s/[;']//g") +PERL_VENDORLIB=$(DESTDIR)/$(shell perl -V:installvendorlib | perl -pi -e "s/.*=//; s/[;']//g") all: dirs @@ -23,12 +23,15 @@ install: $(ALL) ./simplify-drakx-modules {gurpmi.addmedia,edit-urpm-sources.pl} @for n in $(DIRS); do make -C $$n install; done install -d $(BINDIR) $(SBINDIR) $(LIBEXECDIR) - install rpmdrake MageiaUpdate gurpmi.addmedia $(LIBEXECDIR) - install edit-urpm-sources.pl $(LIBEXECDIR)/drakrpm-edit-media - install polkit/wrappers/* $(BINDIR) - ln -sf drakrpm-edit-media $(BINDIR)/edit-urpm-sources.pl - ln -sf rpmdrake $(BINDIR)/drakrpm - ln -sf MageiaUpdate $(BINDIR)/drakrpm-update + install rpmdrake $(LIBEXECDIR)/drakrpm + install MageiaUpdate $(LIBEXECDIR)/drakrpm-update + install gurpmi.addmedia $(LIBEXECDIR)/drakrpm-addmedia + install edit-urpm-sources.pl $(LIBEXECDIR)/drakrpm-editmedia + ln -sf drakrpm-update $(BINDIR)/MageiaUpdate + ln -sf drakrpm-editmedia $(BINDIR)/drakrpm-edit-media + ln -sf drakrpm-addmedia $(BINDIR)/gurpmi.addmedia + ln -sf drakrpm-editmedia $(BINDIR)/edit-urpm-sources.pl + ln -sf drakrpm $(BINDIR)/rpmdrake install -d $(DATADIR)/rpmdrake/icons install -m644 icons/*.png $(DATADIR)/rpmdrake/icons install -m644 gui.lst $(DATADIR)/rpmdrake |