2 mandir ?
= $(prefix)/share
/man
3 gitdir ?
= $(shell git
--exec-path
)
5 # this should be set to a 'standard' bsd-type install program
7 INSTALL_DATA
= $(INSTALL
) -c
-m
0644
8 INSTALL_EXE
= $(INSTALL
) -c
-m
0755
9 INSTALL_DIR
= $(INSTALL
) -c
-d
-m
0755
12 @echo
"git-subtree doesn't need to be built."
13 @echo
"Just copy it somewhere on your PATH, like /usr/local/bin."
18 install: install-exe install-doc
20 install-exe
: git-subtree.sh
21 $(INSTALL_DIR
) $(DESTDIR
)/$(gitdir
)
22 $(INSTALL_EXE
) $< $(DESTDIR
)/$(gitdir
)/git-subtree
24 install-doc
: git-subtree
.1
25 $(INSTALL_DIR
) $(DESTDIR
)/$(mandir)/man1
/
26 $(INSTALL_DATA
) $< $(DESTDIR
)/$(mandir)/man1
/
31 xmlto
-m manpage-normal.xsl man
$^
34 asciidoc
-b docbook
-d manpage
-f asciidoc.conf \
35 -agit_version
=1.6.3 $^
38 rm -f
*~
*.xml
*.html
*.1
39 rm -rf subproj mainline