contrib/hgsh/Makefile
author Mateusz Kwapich <mitrandir@fb.com>
Sun, 13 Mar 2016 16:46:49 -0700
changeset 28519 518a5030acba
parent 2341 dbbe7f72d15a
permissions -rw-r--r--
histedit: have dropmissing abort on empty plan We noticed that many users have the intuition of laving the editor empty when they want to abort the operation. The fact that dropmissing allows user to delete all edited commits is not intuitive even for users that asked for it. Let's prevent people from this footgun.

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