summaryrefslogtreecommitdiffstats
path: root/utils/Makefile
blob: f8ee2c34ef0b6f3c42048c68cdedb380726bebee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
mandir = /usr/share/man

all: run-parts

run-parts: run-parts.c
	$(CC) $(CFLAGS) -o $@ $<

clean:
	rm -f run-parts *.o *~

install: all
	install -D -m 644 run-parts.8 $(DESTDIR)/$(mandir)/man8/run-parts.8
	install -D -m 755 run-parts $(DESTDIR)/usr/bin/run-parts