Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 1.34 KB

INSTALL.md

File metadata and controls

80 lines (54 loc) · 1.34 KB

GIT-based Configuration Tracking Utility (GCFG)

BUILD

NOTE: By "build", we mean create the necessary tarballs/package required for installation (according to the INSTALL section below) or distribution.

  1. [MUST] Obtain the source code:
git clone https://github.com/cedric-dufour/gcfg

OR

tar -xjf gcfg-source-@[email protected]
cd gcfg-source-@version@
  1. [MAY] (Re-)build the source tarball:
./debian/rules build-source-tarball
ls -al ../gcfg-source-@[email protected]
  1. [MAY] Build the installation (release) tarball:
./debian/rules build-install-tarball
ls -al ../gcfg-@[email protected]
  1. [MAY] Build the debian packages:
dpkg-buildpackage -us -uc -b
ls -al ../gcfg_@version@_all.deb ../gcfg-doc_@version@_all.deb
  1. [MAY] Build the debian source package:
debuild -I'.git*' -I'*.pyc' -us -uc -S
ls -al ../gcfg_@[email protected] ../gcfg_@[email protected]

OR

2-5. [SHOULD] Do it all with a single command

./debian/rules release

INSTALL

  1. [MUST] Installation:

    a. using the release tarball:

INSTALL_DIR='<installation-directory>'
cd "${INSTALL_DIR}"
tar -xjf gcfg-@[email protected]
  OR

b. using the debian package:

dpkg -i gcfg_@version@_all.deb