summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-26 14:37:48 +1100
committerDamien Miller <djm@mindrot.org>2000-01-26 14:37:48 +1100
commit7d7c60d6e7b8439e1d3d6ad1a6ec39688228ac09 (patch)
treeb801d24390c37049a96b337e21f160adb716aee8 /packages
parent6d84493c8b689294d076890c073cf5a3c0789b75 (diff)
- Added 'DESTDIR' option to Makefile to ease package building. Patch fromV_1_2_2_PRE29
Jim Knoble <jmknoble@pobox.com> - Updated RPM spec files to use DESTDIR
Diffstat (limited to 'packages')
-rw-r--r--packages/redhat/openssh.spec3
-rw-r--r--packages/suse/openssh.spec2
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/redhat/openssh.spec b/packages/redhat/openssh.spec
index ece13c5b..d8c3cf3a 100644
--- a/packages/redhat/openssh.spec
+++ b/packages/redhat/openssh.spec
@@ -160,9 +160,8 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh"
+make install DESTDIR=$RPM_BUILD_ROOT/
-install -d $RPM_BUILD_ROOT/etc/ssh
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
diff --git a/packages/suse/openssh.spec b/packages/suse/openssh.spec
index a2a5cd2a..a4367176 100644
--- a/packages/suse/openssh.spec
+++ b/packages/suse/openssh.spec
@@ -150,7 +150,7 @@ make
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh"
+make install DESTDIR=$RPM_BUILD_ROOT/
install -d $RPM_BUILD_ROOT/etc/ssh/
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/sbin/init.d/