summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-07-30 10:28:36 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-07-30 11:09:06 (EDT)
commite8bb8052bb2e7f21ccc06af5bfbb128db4cdfd6b (patch)
treec8416a319d5a225e8499648fee53ce1c76751ae0 /build
parent5b19d6b677829d894f7ebef9f60be3e0423b255e (diff)
build: Add "install" target
Diffstat (limited to 'build')
-rwxr-xr-xbuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/build b/build
index fe39fba..4a00851 100755
--- a/build
+++ b/build
@@ -7,3 +7,12 @@ nop:
build:
(cd src && make)
+ touch $@
+
+install: build
+ (cd src && \
+ make DESTDIR=../dest prefix=/usr INSTALL_BINARY=install install)
+ rm dest/usr/bin/fbgs dest/usr/share/man/man1/fbgs.1
+ oh-fixperms
+ oh-strip
+ oh-installfiles