4 # Uncomment this to turn on verbose mode.
8 ifneq (,$(findstring noopt
,$(DEB_BUILD_OPTIONS
)))
16 MANDIR
:= /usr
/share
/man
/
20 DESTDIR
:= $(CURDIR
)/debian
/tmp
21 DOC_DESTDIR
:= $(DESTDIR
)/usr
/share
/doc
/git-core
/
22 MAN_DESTDIR
:= $(DESTDIR
)/$(MANDIR
)
24 build
: debian
/build-stamp
28 touch debian
/build-stamp
33 rm -f debian
/build-stamp
45 make dest
=$(DESTDIR
) prefix=$(PREFIX
) mandir=$(MANDIR
) install install-doc
47 mkdir
-p
$(DOC_DESTDIR
)
48 find
$(DOC
) '(' -name
'*.txt' -o
-name
'*.html' ')' -exec
install {} $(DOC_DESTDIR
) ';'
50 dh_install
--list-missing
--sourcedir
=$(DESTDIR
)
81 .PHONY
: build
clean binary
install clean debian-clean