diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2004-01-05 22:09:27 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2004-01-05 22:09:27 +0000 |
commit | b89adb3b3530751485984d08f1c2771593d3b79e (patch) | |
tree | 2bba8ec325f53dee3f8b1069f18322bf5619fd42 /Makefile | |
parent | 7574e2a44235fa15099a636797c93fb11fb1620d (diff) | |
download | rpmtools-b89adb3b3530751485984d08f1c2771593d3b79e.tar rpmtools-b89adb3b3530751485984d08f1c2771593d3b79e.tar.gz rpmtools-b89adb3b3530751485984d08f1c2771593d3b79e.tar.bz2 rpmtools-b89adb3b3530751485984d08f1c2771593d3b79e.tar.xz rpmtools-b89adb3b3530751485984d08f1c2771593d3b79e.zip |
use %_topdir instead /home/users/olivier
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ ALL_STATIC = $(FROMC_STATIC) $(FROMCC_STATIC) CFLAGS = -Wall -g LIBRPM = -lrpm -lrpmio `perl -e 'local $$_ = qx(rpm -q --qf %{VERSION} rpm); /^4\.0\s*$$/ or print "-lrpmdb"'` -lz -lbz2 -I/usr/include/rpm -lpopt LIBRPM_STATIC = -RPM=$(HOME)/rpm +RPM = `rpm --eval %_topdir` all: $(ALL) echo $(INSTALLVENDORLIB) @@ -45,7 +45,7 @@ dis: clean bzip2 -9f ../$(NAME)-$(VERSION).tar rm -rf $(NAME)-$(VERSION) -rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM) +rpm: dis ../$(NAME)-$(VERSION).tar.bz2 cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES cp -f $(NAME).spec $(RPM)/SPECS/ -rpmbuild -ba --clean --rmsource $(NAME).spec |