diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-03 15:16:56 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-03 15:16:56 +0000 |
commit | 3aaef07aff35a7d8169037ba80b0452d4d98ba59 (patch) | |
tree | 55546fcfe4cf35a5976d38ae46c598b25f5a5aed /Makefile | |
parent | 8f8733b1839181f94bb50daaeac1e074bedc1367 (diff) | |
download | urpmi-3aaef07aff35a7d8169037ba80b0452d4d98ba59.tar urpmi-3aaef07aff35a7d8169037ba80b0452d4d98ba59.tar.gz urpmi-3aaef07aff35a7d8169037ba80b0452d4d98ba59.tar.bz2 urpmi-3aaef07aff35a7d8169037ba80b0452d4d98ba59.tar.xz urpmi-3aaef07aff35a7d8169037ba80b0452d4d98ba59.zip |
Remove obsolete target. Properly retrieve RPM topdir in Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -4,10 +4,7 @@ MANDIR = $(PREFIX)/usr/man SBINDIR = $(PREFIX)/usr/sbin URPMIDIR = $(PREFIX)/var/lib/urpmi URPMIDIR2 = $(PREFIX)/etc/urpmi -LOCALEDIR = $(PREFIX)/usr/share/locale -CFLAGS = -Wall -g -LIBRPM = -lrpm -lrpmio -lrpmdb -lz -lbz2 -I/usr/include/rpm -lpopt -RPM=$(HOME)/rpm +RPM=$(shell rpm --eval %_topdir) NAME = urpmi TAR = $(NAME).tar.bz2 @@ -31,10 +28,7 @@ install: for i in man/??* ; \ do install -d $(MANDIR)/`basename $$i`/man8 ; \ install -m 644 $$i/urpm*.8 $(MANDIR)/`basename $$i`/man8 ; \ - done - -autoirpm.update-all: %: %.cc - $(CXX) $(CFLAGS) $< $(LIBRPM) -o $@ + done test: prove t/*.t @@ -44,7 +38,7 @@ tar: clean rpm: tar cp -f ../$(TAR) $(RPM)/SOURCES - cp -f $(NAME).spec $(RPM)/SPECS/ + cp -f $(NAME).spec $(RPM)/SPECS -rpm -ba --clean $(NAME).spec rm -f ../$(TAR) |