c3e2a1151409fa35a7a968d34452023a63fe7037
3 CFLAGS
= '-DVERSION="$(VERSION)"' -Wall
6 DOCS
= tig
.1.txt tig
.1.html tig
.1 README.html
7 VERSION
= $(shell git-describe
)
11 all-debug
: CFLAGS
+= $(DFLAGS
)
15 for prog in
$(PROGS
); do \
16 install $$prog $(PREFIX
)/bin
; \
20 for doc in
$(DOCS
); do \
22 *.1) install $$doc $(PREFIX
)/man
/man1
;; \
27 rm -f
$(PROGS
) $(DOCS
) core
30 aspell
--lang
=en
--check tig
.1.txt
32 .PHONY
: all docs
install clean
37 sed
-n
'/\/\*\*/,/\*\*\//p' < $< | \
38 sed
's/.*\*\*\///' | \
39 sed
'/^[^*]*\*\*/d' | \
40 sed
's/\*\///;s/^[^*]*\* *//' > $@
43 asciidoc
-b xhtml11
-d article
-f web.conf
$<
46 asciidoc
-b xhtml11
-d manpage
$<
49 asciidoc
-b docbook
-d manpage
$<