Small Patch

Phil Dibowitz phil at
Sat May 10 17:30:35 EST 2003

This is a fairly inconsequential patch, but it comes in handy in a few 
instances. The patch simply splits install-files into "install-files" 
and "install-sysconf" - taking all of the sysconfdir stuff and putting 
in its own target which I then added to 'install' and 'install-nokeys'. 
I then added an install-nosysconf to NOT do that stuff.
This helped us because we install in a directory that gets rdist'd out 
to other hosts, but on the rdist host we didn't want to put the config 
files in /etc/ssh... we have a script to do that on each host and rdist 

Its small and inconsequential... but if it could be applied, I think the 
occasional group might find it useful, and it would be one less patch we 
need to apply each time. Thanks!

--- 2003/05/03 02:14:32     1.1
+++ 2003/05/09 23:41:54
@@ -1,4 +1,4 @@
-# $Id:,v 1.1 2003/05/03 02:14:32 phil Exp $
+# $Id:,v 1.3 2003/05/09 23:41:38 phil Exp $
@@ -215,8 +215,9 @@
         (cd scard && $(MAKE) -f distprep)

-install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files host-key 
-install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
+install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files 
install-sysconf host-key check-config
+install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files 
+install-nosysconf: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files

         -$(DESTDIR)$(sbindir)/sshd -t -f 
@@ -266,6 +267,9 @@
         ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin
         -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
         ln -s ./ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
         if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
                 $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \

Phil Dibowitz                             phil at
Freeware and Technical Pages              Insanity Palace of Metallica         

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
  - Benjamin Franklin, 1759

More information about the openssh-unix-dev mailing list