File: Makefile

package info (click to toggle)
gla11y 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 392 kB
  • sloc: python: 955; makefile: 64
file content (24 lines) | stat: -rw-r--r-- 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
prefix ?= /usr
bindir ?= $(prefix)/bin
datarootdir ?= $(prefix)/share
mandir ?= $(datarootdir)/man

INSTALL=install
HELP2MAN=help2man

all: gla11y.1

gla11y.1: gla11y
	$(HELP2MAN) -N -n "Check accessibility of glade .ui files" ./$< > $@

check:
	$(MAKE) -C regress/

install: gla11y.1
	$(INSTALL) -d $(DESTDIR)$(bindir)
	$(INSTALL) gla11y $(DESTDIR)$(bindir)/gla11y
	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
	$(INSTALL) -m 644 gla11y.1 $(DESTDIR)$(mandir)/man1/gla11y.1

clean:
	rm -f gla11y.1