summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 6 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index aa501d59..c8bc724e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PREFIX =
+PREFIX =
BINDIR = $(PREFIX)/usr/bin
MANDIR = $(PREFIX)/usr/man
SBINDIR = $(PREFIX)/usr/sbin
@@ -12,23 +12,19 @@ RPM=$(HOME)/rpm
NAME = urpmi
TAR = $(NAME).tar.bz2
-.PHONY: install clean rpm test bigtest perltest changelog ChangeLog
+.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 autoirpm.deny $(URPMIDIR2)
install -m 644 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 -s autoirpm.update-all $(SBINDIR)
-# ln -sf urpmi.addmedia $(SBINDIR)/urpmi.removemedia
-# ln -sf urpmi.addmedia $(SBINDIR)/urpmi.update
install gurpmi $(BINDIR)
install gurpmi2 $(SBINDIR)
ln -s -f ../../usr/bin/consolehelper $(BINDIR)/gurpmi2
@@ -37,21 +33,16 @@ install:
install -m 644 $$i/urpm*.8 $(MANDIR)/`basename $$i`/man8 ; \
done
-autoirpm.update-all: %: %.cc
+autoirpm.update-all: %: %.cc
$(CXX) $(CFLAGS) $< $(LIBRPM) -o $@
-test: bigtest perltest
-
-perltest:
+test:
prove t/*.t
-bigtest:
- cd test; ./do_alltests
-
tar: clean
cd .. ; tar cf - urpmi | bzip2 -9 >$(TAR)
-rpm: tar
+rpm: tar
cp -f ../$(TAR) $(RPM)/SOURCES
cp -f $(NAME).spec $(RPM)/SPECS/
-rpm -ba --clean $(NAME).spec
@@ -64,10 +55,6 @@ clean:
$(MAKE) -C po $@
rm -f *~ autoirpm.update-all
-changelog:
+ChangeLog:
cvs2cl -W 400 -I ChangeLog --accum -U ../../soft/common/username
rm -f *.bak
-
-log: changelog
-
-ChangeLog: changelog