commit | a4ce6207778eb8e6a349ac7793960b0f1ac88821 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Aug 10 18:17:52 2014 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Aug 10 18:17:52 2014 -0700 |
tree | c54d688de8ba64ef47a2d371e230d73851238d18 | |
parent | 2d6cf44399da94ad2726150b6aba18dd50e1811f [diff] |
nfd: Create and chown log directory only if it doesn't exist Otherwise, any update of nfd would break nlsr daemon, which uses a subdirectory in the same log folder, but using different user.
The following packages needs to be installed in order to build source .deb package to be upload to PPA:
sudo apt-get install git devscripts debhelper dh-make
The build process is very much automated and the following command can be used to build all packages and upload them to the ppa.
make dput
Before running dput make sure that you have access to upload packages to named-data/ppa
(or modify target PPA repository in packaging.mk
).
To build a specific package, go to the package's folder and run the same make dput
command.
The scripts by default create source packages for Ubuntu 12.04 (precise), 13.10 (saucy), and 14.04 (trusty). If necessary, default actions and distributions can be overriden:
To only build source packages (no upload) only for Ubuntu 12.04:
make build DISTROS=precise
To build binary package that can be installed with dpkg -i <package>.deb
:
make build DEBUILD=debuild DISTROS=precise
The build package will be in <package-folder>/work/<package-name>_<version>.deb