summaryrefslogtreecommitdiff
path: root/pinyadmin/Makefile
blob: 64ac713d5f53006f542d92459297d44f5e41b70f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
build:
	mkdir -p man
	for f in doc/*.latex; do latex2man $$f man/$$(basename $$f .latex).man; done
	ln -s newuser.man man/createuser.man

install:
	install -o root -g root -m 755 -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/sbin
	install -o root -g root -m 755 bin/* $(DESTDIR)/usr/bin
	install -o root -g root -m 755 sbin/* $(DESTDIR)/usr/sbin

clean:
	rm -rf man