]> git.cameronkatri.com Git - pw-darwin.git/blob - adduser/Makefile
Assume manpages are compressed with zst
[pw-darwin.git] / adduser / Makefile
1 GINSTALL ?= install
2 PREFIX ?= /usr
3 DESTDIR ?=
4
5 all:
6 @echo "Nothing to build"
7
8 clean:
9 @echo "Nothing to clean"
10
11 install: install-adduser install-rmuser
12
13 install-adduser: adduser.sh adduser.8 adduser.conf.5
14 $(GINSTALL) -Dm755 adduser.sh $(DESTDIR)/$(PREFIX)/sbin/adduser
15 $(GINSTALL) -Dm644 adduser.8 $(DESTDIR)/$(PREFIX)/share/man/man8/adduser.8
16 $(GINSTALL) -Dm644 adduser.conf.5 $(DESTDIR)/$(PREFIX)/share/man/man5/adduser.conf.5
17
18 install-rmuser: rmuser.sh rmuser.8
19 $(GINSTALL) -Dm755 rmuser.sh $(DESTDIR)/$(PREFIX)/sbin/rmuser
20 $(GINSTALL) -Dm644 rmuser.8 $(DESTDIR)/$(PREFIX)/share/man/man8/rmuser.8
21
22 .PHONY: all install install-adduser install-rmuser clean