Skip to content

Commit b3fc061

Browse files
committed
Add a Makefile for maintainers and hackers
1 parent 8c9bca0 commit b3fc061

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Makefile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# For maintainers. Use `cabal install` instead.
2+
3+
CTAGS = hasktags --ctags
4+
ETAGS = hasktags --etags
5+
6+
SRC = $(shell find Network -type f -name '*.hs')
7+
8+
.PHONY: all maintainer-clean
9+
10+
all:
11+
12+
maintainer-clean:
13+
@rm -f TAGS tags ChangeLog
14+
15+
ChangeLog:
16+
@git log --summary HEAD > ChangeLog
17+
18+
TAGS: $(SRC)
19+
@$(ETAGS) $^
20+
21+
tags: $(SRC)
22+
@$(CTAGS) $^

0 commit comments

Comments
 (0)