summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul C. Buetow <paul@buetow.org>2014-04-24 20:30:35 +0200
committerPaul C. Buetow <paul@buetow.org>2014-04-24 20:30:35 +0200
commitecb5f7f0ec15164c22896732da8618a55bb93a0b (patch)
treeda1e4f2dcb595c3a42cf65ecad3f1e4261e27b73
parent627029c8412a49b9f5e0211a904759fa7f35b371 (diff)
add note about how to install fapi from source dir
-rw-r--r--Makefile2
-rw-r--r--docs/fapi.pod4
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 19ad4c5..93ecdc8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ build:
cp -p ./src/$(NAME) bin/$(NAME)
sed -i "s/VERSION_DEVEL/$$(cat .version)/" bin/$(NAME)
# 'install' installes a fake-root, which will be used to build the Debian package
-# $DESTDIR is actually set by the Debian tools.
+# $DESTDIR is actually set by the Debian tools
install:
test ! -d $(DESTDIR)/usr/bin && mkdir -p $(DESTDIR)/usr/bin || exit 0
test ! -d $(DESTDIR)/usr/share/$(NAME) && mkdir -p $(DESTDIR)/usr/share/$(NAME) || exit 0
diff --git a/docs/fapi.pod b/docs/fapi.pod
index 05b88f4..340b7ae 100644
--- a/docs/fapi.pod
+++ b/docs/fapi.pod
@@ -70,6 +70,10 @@ And run
cp /usr/share/fapi/fapi.conf.sample ~/.fapi.conf
vim ~/.fapi.conf
+Or if you want to install it from the source dir, just run:
+
+ make all
+ sudo make install
=head1 EXAMPLES