This file is mainly interesting for developers who want to hack/work with the development version of daps.
In order to run daps from this working copy, remember the following things:
-
Do NOT run
./configure
if you intend to rundaps
from this working copy. -
If you have run the configure script already, run
git status
to see any modified files and roll them back:git ls-files -m | xargs git checkout -- git clean -d -f
-
If you want to run daps from this working copy, always add the
--dapsroot
option. To simplify this, define a ddaps function (or alias) which can look like this (replace the content of theD
variable with your absolute path of your working copy):ddaps () { echo "****** DAPS Developer Version ******" D="/local/doc/daps" $D/bin/daps --dapsroot "$D" $@ }
If you like, you can also add the
--styleroot
option. Add the above lines to your~/.bashrc
(or~/.bashrc.local
) Bash config file.
-
the only automake files that may be edited are
-
configure.ac
-
Makefile.am
Do NOT edit any other automake files, since they are generated.
-
-
Whenever
configure.ac
orMakefile.am
have been changed, you MUST run autogen.sh and submit the resulting changes together with your edits
In order to create a new daps version, do the following:
-
Adapt version number in
configure.ac
-
Run
autogen.sh
-
Adapt version number in
packaging/daps.spec
-
Commit your changes
-
Change to the OBS working copy from
Documentation:Tools
and rundaps-fetch-source-git
to get the latest changes from GitHub. -
Run
osc vc
and add your changelog -
Rebuild the package, fix any errors, and commit to OBS.
Happy Hacking! :)