748b06ac95ff2a3957be3845bd3594984e3cc3cf
chmalee
  Wed Aug 17 19:21:48 2022 -0700
Rename test cgi to official name. Always search everything, only show
categories that have matches in the result list. Add /search endpoint to
hubApi, add code to search help docs in hgSuggest but don't call it yet
in autoComplete.js. Minor fixups so search result links work correctly.

Fixing up old programs that call hgPositionsFind

diff --git src/hg/hgSearch/makefile src/hg/hgSearch/makefile
new file mode 100644
index 0000000..8b32245
--- /dev/null
+++ src/hg/hgSearch/makefile
@@ -0,0 +1,18 @@
+kentSrc = ../..
+include ../../inc/common.mk
+
+L += $(MYSQLLIBS) -lm
+MYLIBDIR = ../../lib/${MACHTYPE}
+MYLIBS =  $(MYLIBDIR)/jkhgapcgi.a $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
+
+A = hgSearch
+O = hgSearch.o
+
+A = hgSearch
+
+include ../../inc/cgi_build_rules.mk
+
+compile:: $O
+	${CC} $O ${MYLIBS} ${L}
+	mv ${AOUT} $A${EXE}
+