summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-09 21:29:37 +1000
committerDamien Miller <djm@mindrot.org>2000-07-09 21:29:37 +1000
commit0100627fc8fda8b3be42789972a8d9f0e339134c (patch)
tree1a5dc59e84b80fd223c1a5ccd7c8126ab11684e3 /Makefile.in
parent8148fa3bd328e6d3f35a411658a3acf9b36bf30a (diff)
- (djm) Missing $(DESTDIR) on host-key target causing problems with RPM
builds. Problem report from Gregory Leblanc <GLeblanc@cu-portland.edu>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 573b92ce..50de2d97 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -150,20 +150,20 @@ install-files:
fi
host-key: ssh-keygen
- if [ -f "$(sysconfdir)/ssh_host_key" ] ; then \
- echo "$(sysconfdir)/ssh_host_key already exists, skipping." ; \
+ if [ -f "$(DESTDIR)$(sysconfdir)/ssh_host_key" ] ; then \
+ echo "$(DESTDIR)$(sysconfdir)/ssh_host_key already exists, skipping." ; \
else \
- ./ssh-keygen -b 1024 -f $(sysconfdir)/ssh_host_key -N "" ; \
+ ./ssh-keygen -b 1024 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" ; \
fi ; \
- if [ -f $(sysconfdir)/ssh_host_dsa_key ] ; then \
- echo "$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
+ if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \
+ echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
else \
- ./ssh-keygen -d -f $(sysconfdir)/ssh_host_dsa_key -N "" ; \
+ ./ssh-keygen -d -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" ; \
fi ;
host-key-force: ssh-keygen
- ./ssh-keygen -b 1024 -f $(sysconfdir)/ssh_host_key -N ""
- ./ssh-keygen -d -f $(sysconfdir)/ssh_host_dsa_key -N ""
+ ./ssh-keygen -b 1024 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""
+ ./ssh-keygen -d -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N ""
uninstallall: uninstall
-rm -f $(DESTDIR)$(sysconfdir)/ssh_config