summaryrefslogtreecommitdiff
path: root/pinyadmin/Makefile
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2010-10-29 19:46:24 -0500
committerBryan Bishop <kanzure@gmail.com>2010-10-29 19:46:24 -0500
commit7786ce2a332b0eba4b3ca7c57f906a32e8715da3 (patch)
tree5a9fe32b69a93f41ae2ac82a50788fe50c0d86fb /pinyadmin/Makefile
parent413373be9ab30eb21b564cdc180cb2dcda77bfeb (diff)
downloadpiny-code-7786ce2a332b0eba4b3ca7c57f906a32e8715da3.tar.gz
piny-code-7786ce2a332b0eba4b3ca7c57f906a32e8715da3.zip
Starting repo cleanup to make this not so awful
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