Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/extsrc Deprecate extsrc/



details:   https://anonhg.NetBSD.org/src/rev/bd744f90ab7c
branches:  trunk
changeset: 369539:bd744f90ab7c
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Aug 21 07:12:05 2022 +0000

description:
Deprecate extsrc/

Remove extsrc/*.

No more tab completion mismatches with external/

As proposed on tech-kern and tech-userlevel on 2022-01-07
and followed up on 2022-08-21.

diffstat:

 extsrc/Makefile          |   7 ----
 extsrc/Makefile.extsrc   |  77 ------------------------------------------------
 extsrc/external/Makefile |   5 ---
 3 files changed, 0 insertions(+), 89 deletions(-)

diffs (101 lines):

diff -r fdce14a6c62d -r bd744f90ab7c extsrc/Makefile
--- a/extsrc/Makefile   Sun Aug 21 07:10:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2009/12/01 01:53:46 uebayasi Exp $
-
-SUBDIR=        external
-SUBDIR_TOOLS=
-SUBDIR_LIB=
-
-.include "Makefile.extsrc"
diff -r fdce14a6c62d -r bd744f90ab7c extsrc/Makefile.extsrc
--- a/extsrc/Makefile.extsrc    Sun Aug 21 07:10:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-#      $NetBSD: Makefile.extsrc,v 1.1 2009/12/01 01:53:46 uebayasi Exp $
-
-.include <bsd.own.mk>
-
-.if ${MKUPDATE} == "no" && !defined(NOCLEANDIR)
-BUILDTARGETS+=  cleandir
-.endif
-.if ${MKOBJDIRS} != "no"
-BUILDTARGETS+=  obj
-.endif
-BUILDTARGETS+= do-tools
-.if !defined(NOINCLUDES)
-BUILDTARGETS+= includes
-.endif
-BUILDTARGETS+= do-lib
-BUILDTARGETS+= do-build
-
-.ORDER: ${BUILDTARGETS}
-
-START_TIME!=   date
-
-build: check_EXTSRCSRCDIR
-       @echo "extsrc build started at: ${START_TIME}"
-.for tgt in ${BUILDTARGETS}
-       ${MAKEDIRTARGET} . ${tgt}
-.endfor
-       @echo   "extsrc build started at:  ${START_TIME}"
-       @printf "extsrc build finished at: " && date
-
-do-build:
-.for targ in dependall install
-       ${MAKEDIRTARGET} . ${targ}
-.endfor
-
-do-tools:
-.for dir in    ${SUBDIR_TOOLS}
-       ${MAKEDIRTARGET} . do-${dir:S/\//-/g}
-.endfor
-
-do-lib:
-.for dir in    ${SUBDIR_LIB}
-       ${MAKEDIRTARGET} . do-${dir:S/\//-/g}
-.endfor
-
-.for dir in    ${SUBDIR_TOOLS} ${SUBDIR_LIB}
-do-${dir:S/\//-/g}:
-.  for targ in dependall install
-       ${MAKEDIRTARGET} ${dir} ${targ}
-.  endfor
-.endfor
-
-afterinstall: .PHONY
-.if ${MKMAN} != "no"
-       ${MAKEDIRTARGET} ${NETBSDSRCDIR}/share/man makedb \
-           WHATISDBDIR=${EXTSRCMANDIR}
-.endif
-
-# XXX how to decide this?
-
-DISTRIBTARGETS=        # XXX
-
-distribution: check_EXTSRCSRCDIR
-.for tgt in ${DISTRIBTARGETS}
-       ${MAKEDIRTARGET} ${tgt} configinstall
-.endfor
-
-
-check_EXTSRCSRCDIR: .PHONY .NOTMAIN
-.if !defined(EXTSRCSRCDIR)
-       @echo
-       @echo "ERROR: setenv EXTSRCSRCDIR before doing that!"
-       @false
-.else
-       @true
-.endif
-
-.include <bsd.subdir.mk>
diff -r fdce14a6c62d -r bd744f90ab7c extsrc/external/Makefile
--- a/extsrc/external/Makefile  Sun Aug 21 07:10:03 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2009/12/01 01:53:46 uebayasi Exp $
-
-#SUBDIR=       XXX
-
-.include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index