Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update TODO and add INSTALL instructions
  • Loading branch information
mariux committed May 22, 2012
1 parent 47686bf commit 2a26d6e
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
@@ -1,2 +1,4 @@
* whitespace=space-before-tab,tab-in-indent,trailing-space,cr-at-eol
Makefile whitespace=indent-with-non-tab
.gitignore export-ignore
.gitattributes export-ignore
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -25,6 +25,10 @@
/bee-query.1
/bee-remove.1
/bee-dep.1
/beefind.sh
/compat-filesfile2contentfile.sh
/content2filelist.sh
/filelist2content.sh
/buildtypes/*.sh
/manpages/*.1
/.beerc
Expand Down
51 changes: 51 additions & 0 deletions INSTALL
@@ -0,0 +1,51 @@
How to install bee:

make install

This will install bee to PREFIX=/usr

Change installation prefix:

make PREFIX=/usr/local install

Be sure to provide installation prefixes during
make and make install if you want to first build and
later install bee
(e.g. make PREFIX=/usr/local && make PREFIX=/usr/local install)


Change destination directory for temporary installation
and later packaging:

make DESTDIR=/path/to/destdir PREFIX=/usr/local install

All variables available to change installation directories:

PREFIX = /usr
EPREFIX = ${PREFIX}
SBINDIR = ${EPREFIX}/sbin
BINDIR = ${EPREFIX}/bin
LIBDIR = ${EPREFIX}/lib
LIBEXECDIR = ${EPREFIX}/libexec
DATADIR = ${PREFIX}/share
MANDIR = ${DATADIR}/man
SYSCONFDIR = ${PREFIX}/etc

DESTDIR =

Cleanup build: e.g. after building with wrong prefixes

make clean

Rebuild and install with new prefix in destdir:

make clean install PREFIX=/usr/local DESTDIR=/tmp/destdir

Install latest bee with bee (requires git to be installed):

bee init $(bee download git://github.com/bee/bee.git) \
--execute \
--prefix=/usr/local

bee update bee

7 changes: 3 additions & 4 deletions TODO
@@ -1,7 +1,6 @@
for release 1.0:
fix issues on https://github.com/bee/bee/issues

for release 2.0:
- search and fix bugs
- make build magic overwritable "force configure" ..
- auto-triggers to update various databases like mime/icons/mandb
- auto detect old configure and auto switch to compat mode
- add PREFIX-vars to PKG and try to remove them when not used in othe pkg and empty
- configurable owner/group of files in resulting bee-pkg

0 comments on commit 2a26d6e

Please sign in to comment.