summary refs log tree commit diff
path: root/port/file2c/Makefile
blob: 09f6b5d020d5fd38d686aacbbc5b26486a0a05cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PREFIX = ~/.local
MANDIR = ${PREFIX}/share/man

file2c:

clean:
	rm -f file2c

install: file2c file2c.1
	install -d ${PREFIX}/bin ${MANDIR}/man1
	install file2c ${PREFIX}/bin
	install -m 644 file2c.1 ${MANDIR}/man1

uninstall:
	rm -f ${PREFIX}/bin/file2c ${MANDIR}/man1/file2c.1
Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for HEAD requestsLars Hjemli This is a quick 'n dirty hack which makes cgit honor HEAD requests. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for ETag in 'plain' viewLars Hjemli When downloading a blob identified by its path, the client might want to know if the blob has been modified since a previous download of the same path. To this end, an ETag containing the blob SHA1 seems to be ideal. Todo: add support for HEAD requests... Suggested-by: Owen Taylor <otaylor@redhat.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12ui-tree: escape ascii-text properly in hexdump viewLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12Makefile: add doc-related targetsLars Hjemli