contrib/hgsh/Makefile
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 03 Feb 2023 01:07:59 -0500
branchstable
changeset 49651 68cf519429ef
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
hgweb: unbyteify the 100-continue check The environment seems to be `str` or `tuple[int]`, and the same check in `wsgicgi.py` is already `str` based, so I suspect this was wrong. I think what happened here is that the string wasn't `r''` prefixed in 482d6f6dba91 like `wsgicgi.py`, so it got wrongly byteified in 687b865b95ad when converting to byte literals en masse.

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