File: Makefile

package info (click to toggle)
git-remote-bzr 0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 236 kB
  • ctags: 107
  • sloc: python: 791; sh: 772; makefile: 35
file content (29 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
prefix := $(HOME)

bindir := $(prefix)/bin
mandir := $(prefix)/share/man/man1

all: doc

doc: doc/git-remote-bzr.1

test:
	$(MAKE) -C test

doc/git-remote-bzr.1: doc/git-remote-bzr.txt
	a2x -d manpage -f manpage $<

clean:
	$(RM) doc/git-remote-bzr.1

D = $(DESTDIR)

install:
	install -d -m 755 $(D)$(bindir)/
	install -m 755 git-remote-bzr $(D)$(bindir)/git-remote-bzr

install-doc: doc
	install -d -m 755 $(D)$(mandir)/
	install -m 644 doc/git-remote-bzr.1 $(D)$(mandir)/git-remote-bzr.1

.PHONY: all test install install-doc clean