what he really meant was this...
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 5 May 1987 02:18:00 +0000 (18:18 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 5 May 1987 02:18:00 +0000 (18:18 -0800)
SCCS-vsn: usr.sbin/config/mkmakefile.c 5.14

usr/src/usr.sbin/config/mkmakefile.c

index cd7f82b..116aa10 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)mkmakefile.c       5.13 (Berkeley) %G%";
+static char sccsid[] = "@(#)mkmakefile.c       5.14 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -437,7 +437,10 @@ do_cfiles(fp)
                                lpos = 8;
                                fputs("\\\n\t", fp);
                        }
                                lpos = 8;
                                fputs("\\\n\t", fp);
                        }
-                       fprintf(fp, "../%s/%s ", machinename, swapname);
+                       if (eq(fl->f_fn, "generic"))
+                               fprintf(fp, "../%s/%s ", machinename, swapname);
+                       else
+                               fprintf(fp, "%s ", swapname);
                        lpos += len + 1;
                }
        if (lpos != 8)
                        lpos += len + 1;
                }
        if (lpos != 8)