summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4e355cb9703ec9a5b69293dc8b58879640104ade (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.POSIX:

all: getconf/getconf hostname/hostname localedef/localedef

getconf/getconf:
	cd getconf && $(MAKE)

hostname/hostname:
	cd hostname && $(MAKE)

localedef/localedef:
	cd localedef && ${MAKE}

clean:
	cd getconf && $(MAKE) clean
	cd hostname && $(MAKE) clean
	cd localedef && $(MAKE) clean

install:
	mkdir -p $(DESTDIR)/usr/bin
	mkdir -p $(DESTDIR)/usr/share/man/man1
	cd getconf && $(MAKE) install
	cd hostname && $(MAKE) install
	cd localedef && $(MAKE) install