NOTE: By "build", we mean create the necessary tarballs/package required for installation (according to the INSTALL section below) or distribution.
- [MUST] Obtain the source code:
git clone https://github.com/cedric-dufour/gcfg
OR
tar -xjf gcfg-source-@[email protected]
cd gcfg-source-@version@
- [MAY] (Re-)build the source tarball:
./debian/rules build-source-tarball
ls -al ../gcfg-source-@[email protected]
- [MAY] Build the installation (release) tarball:
./debian/rules build-install-tarball
ls -al ../gcfg-@[email protected]
- [MAY] Build the debian packages:
dpkg-buildpackage -us -uc -b
ls -al ../gcfg_@version@_all.deb ../gcfg-doc_@version@_all.deb
- [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
-
[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