summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile56
1 files changed, 0 insertions, 56 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0d682f27..00000000
--- a/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-PREFIX =
-BINDIR = $(PREFIX)/usr/bin
-MANDIR = $(PREFIX)/usr/man
-SBINDIR = $(PREFIX)/usr/sbin
-URPMIDIR = $(PREFIX)/var/lib/urpmi
-URPMIDIR2 = $(PREFIX)/etc/urpmi
-RPM=$(shell rpm --eval %_topdir)
-
-NAME = urpmi
-TAR = $(NAME).tar.bz2
-
-all: rpm
-
-.PHONY: install clean rpm test ChangeLog
-
-install:
- $(MAKE) -C po $@
- install -d $(BINDIR) $(SBINDIR) $(URPMIDIR) $(URPMIDIR2) $(MANDIR)/man5 $(MANDIR)/man8
- install urpmq $(BINDIR)
- install rpm-find-leaves urpmf $(BINDIR)
- install -m 644 inst.list skip.list $(URPMIDIR2)
- install -m 644 man/C/urpm*.5 $(MANDIR)/man5
- install -m 644 man/C/proxy*.5 $(MANDIR)/man5
- install -m 644 man/C/urpm*.8 $(MANDIR)/man8
- install -m 644 man/C/rurpmi.8 $(MANDIR)/man8
- install urpmi urpme urpmi.addmedia urpmi.update urpmi.removemedia rurpmi $(SBINDIR)
- install gurpmi $(BINDIR)
- install gurpmi2 $(SBINDIR)
- ln -s -f ../../usr/bin/consolehelper $(BINDIR)/gurpmi2
- for i in man/??* ; \
- do install -d $(MANDIR)/`basename $$i`/man8 ; \
- install -m 644 $$i/urpm*.8 $(MANDIR)/`basename $$i`/man8 ; \
- done
-
-test:
- prove t/*.t
-
-tar: clean
- cd .. ; tar cf - urpmi | bzip2 -9 >$(TAR)
-
-rpm: tar
- cp -f ../$(TAR) $(RPM)/SOURCES
- cp -f $(NAME).spec $(RPM)/SPECS
- -rpm -ba --clean $(NAME).spec
- rm -f ../$(TAR)
-
-po:
- $(MAKE) -C $@
-
-clean:
- $(MAKE) -C po $@
- rm -f *~ autoirpm.update-all
-
-ChangeLog:
- cvs2cl -W 400 -I ChangeLog --accum -U ../../soft/common/username
- rm -f *.bak