summaryrefslogtreecommitdiff
path: root/pinyadmin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pinyadmin/Makefile')
-rw-r--r--pinyadmin/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/pinyadmin/Makefile b/pinyadmin/Makefile
new file mode 100644
index 0000000..64ac713
--- /dev/null
+++ b/pinyadmin/Makefile
@@ -0,0 +1,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