summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 042965ba..afa532c5 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@ BINDIR = $(PREFIX)/usr/bin
MANDIR = $(PREFIX)/usr/man
SBINDIR = $(PREFIX)/usr/sbin
XBINDIR = $(PREFIX)/usr/X11R6/bin
-URPMIDIR = $(PREFIX)/etc/urpmi
+URPMIDIR = $(PREFIX)/var/lib/urpmi
+URPMIDIR2 = $(PREFIX)/etc/urpmi
LOCALEDIR = $(PREFIX)/usr/share/locale
@@ -11,10 +12,10 @@ LOCALEDIR = $(PREFIX)/usr/share/locale
install: autoirpm.update-all
$(MAKE) -C po $@
- install -d $(BINDIR) $(SBINDIR) $(XBINDIR) $(URPMIDIR) $(MANDIR)/man8
+ install -d $(BINDIR) $(SBINDIR) $(XBINDIR) $(URPMIDIR) $(URPMIDIR2) $(MANDIR)/man8
install -m 4755 urpmi $(BINDIR)
install _irpm rpm-find-leaves $(BINDIR)
- install -m 644 autoirpm.deny $(URPMIDIR)
+ install -m 644 autoirpm.deny $(URPMIDIR2)
for i in *.8; do bzip2 -c $$i > $(MANDIR)/man8/$$i.bz2 ; done
install urpmi.addmedia autoirpm.update autoirpm.uninstall $(SBINDIR)
install -s autoirpm.update-all $(SBINDIR)