]>
Commit | Line | Data |
---|---|---|
87d546d8 TG |
1 | tgz-local: |
2 | @(if test "${HAVE_ALIEN}" = "no"; then \ | |
3 | echo -e "\n" \ | |
4 | "*** Required util ${ALIEN} missing. Please install the\n" \ | |
5 | "*** package for your distribution which provides ${ALIEN},\n" \ | |
6 | "*** re-run configure, and try again.\n"; \ | |
7 | exit 1; \ | |
8 | fi) | |
9 | ||
10 | tgz-kmod: tgz-local rpm-kmod | |
11 | if CONFIG_KERNEL | |
12 | name=${PACKAGE}; \ | |
13 | version=${VERSION}-${RELEASE}; \ | |
14 | arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ | |
15 | pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \ | |
16 | fakeroot $(ALIEN) --scripts --to-tgz $$pkg1; \ | |
17 | $(RM) $$pkg1 | |
18 | endif | |
19 | ||
20 | tgz-utils: tgz-local rpm-utils | |
21 | if CONFIG_USER | |
22 | name=${PACKAGE}; \ | |
23 | version=${VERSION}-${RELEASE}; \ | |
24 | arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \ | |
25 | pkg1=$${name}-$${version}.$${arch}.rpm; \ | |
26 | pkg2=$${name}-devel-$${version}.$${arch}.rpm; \ | |
27 | pkg3=$${name}-test-$${version}.$${arch}.rpm; \ | |
28 | fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \ | |
29 | $(RM) $$pkg1 $$pkg2 $$pkg3 | |
30 | endif | |
31 | ||
32 | tgz: tgz-kmod tgz-utils |