contrib/hgsh/Makefile
author Wojciech Lis <wlis@fb.com>
Mon, 11 Dec 2017 16:51:13 -0800
changeset 35432 60f2a215faa7
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
workers: don't use backgroundfilecloser in threads This disables background file closing when in not in main thread Test Plan: Ran pull, update, sparse commands and watched the closer threads created and destroyed in procexp.exe ran test on CentOS. No tests broken compared to the base Differential Revision: https://phab.mercurial-scm.org/D1457

CC := gcc
CFLAGS := -g -O2 -Wall -Werror

prefix ?= /usr/bin

hgsh: hgsh.o
	$(CC) -o $@ $<

install: hgsh
	install -m755 hgsh $(prefix)

clean:
	rm -f *.o hgsh