-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
49 lines (39 loc) · 997 Bytes
/
Makefile
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# unifoundry.com utilities for the GNU Unifont
#
# Typing "make && make install" will make and
# install the binary programs and man pages.
# To build the font from scratch, use
# "cd font ; make"
#
SHELL = /bin/sh
#
# To install under /usr/local, choose the first PREFIX definition.
# For Debian, or to install binaries under /usr/bin and man pages
# under /usr/share/man/man1, choose the second PREFIX definition.
#
# PREFIX=/usr/local
PREFIX = $(DESTDIR)/usr
DIRS = bin man font
all: bindir
echo "Make is done."
bindir:
set -e ; $(MAKE) -C src
mandir:
set -e ; $(MAKE) -C man
fontdir:
set -e ; $(MAKE) -C font
install: bin
$(MAKE) -C src install PREFIX=$(PREFIX)
$(MAKE) -C man install PREFIX=$(PREFIX)
$(MAKE) -C font install PREFIX=$(PREFIX) DESTDIR=$(DESTDIR)
clean:
$(MAKE) -C src clean
$(MAKE) -C man clean
$(MAKE) -C font clean
distclean:
$(MAKE) -C src distclean
$(MAKE) -C man distclean
$(MAKE) -C font distclean
rm -rf bin
.PHONY: all install clean distclean