summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ede8b523..a58a0050 100644
--- a/Makefile
+++ b/Makefile
@@ -22,12 +22,16 @@ install: autoirpm.update-all
install _irpm rpm-find-leaves urpmf $(BINDIR)
install -m 644 autoirpm.deny $(URPMIDIR2)
install -m 644 skip.list $(URPMIDIR2)
- install -m 644 *.8 $(MANDIR)/man8
+ install -m 644 man/C/*.8 $(MANDIR)/man8
install urpmi urpme urpmi.addmedia urpmi.update urpmi.removemedia autoirpm.update autoirpm.uninstall $(SBINDIR)
install -s autoirpm.update-all $(SBINDIR)
# ln -sf urpmi.addmedia $(SBINDIR)/urpmi.removemedia
# ln -sf urpmi.addmedia $(SBINDIR)/urpmi.update
install gurpmi $(XBINDIR)
+ for i in man/??* ; \
+ do install -d $(MANDIR)/`basename $$i`/man8 ; \
+ install -m 644 $$i/*.8 $(MANDIR)/`basename $$i`/man8 ; \
+ done
autoirpm.update-all: %: %.cc
$(CXX) $(CFLAGS) $< $(LIBRPM) -o $@