summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7aa4736efcd101c9059651b328761900ccad7afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
prefix = /usr/local
bindir = $(prefix)/bin
sharedir = $(prefix)/share
mandir = $(sharedir)/man
man1dir = $(mandir)/man1

progs = isascii
scripts = do-until total

all: $(progs)

install: all
	install -d $(DESTDIR)$(bindir)
	install $(progs) $(scripts) $(DESTDIR)$(bindir)
	install -d $(DESTDIR)$(man1dir)
	install -m 0644 *.1 $(DESTDIR)$(man1dir)

clean:
	rm -f $(progs) *.o