summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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