summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-25 14:13:09 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-25 14:13:09 +0000
commit649d105cc3296440dc2d0e44b0f1b08e781508b4 (patch)
tree09377ae313ed5fd8745121f9e51e43cc194920c2 /Makefile
parent24bd671fcbeda98d9ade49c24c69df60aacf2c42 (diff)
downloadurpmi-649d105cc3296440dc2d0e44b0f1b08e781508b4.tar
urpmi-649d105cc3296440dc2d0e44b0f1b08e781508b4.tar.gz
urpmi-649d105cc3296440dc2d0e44b0f1b08e781508b4.tar.bz2
urpmi-649d105cc3296440dc2d0e44b0f1b08e781508b4.tar.xz
urpmi-649d105cc3296440dc2d0e44b0f1b08e781508b4.zip
Don't use the old Makefile anymore.
Add check section in specfile. Install urpmi_rpm-find-leaves also as rpm-find-leaves.
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