[Github-comments] [geany/geany] Add simplest development build process to HACKING (#1690)

Matthew Brush notifications at xxxxx
Thu Nov 16 00:55:44 UTC 2017


IMO, it would be better as more verbatim text explaining what each command is doing and why, rather than some magic incantation people blindly poke into the terminal, but I'm not sure HACKING is the appropriate place for that (hence the suggestion for a wiki page).

Without more verbatim explanations, I would personally recommend something more like this:

```bash
export GEANY_DEV=$HOME/geany-dev

# one-time setup
mkdir -p $GEANY_DEV/build $GEANY_DEV/prefix
cd $GEANY_DEV
git clone https://github.com/geany/geany.git source
cd source
NOCONFIGURE=1 ./autogen.sh

# configuring the build and when updating from Git
cd $GEANY_DEV/build
../source/configure --prefix=$GEANY_DEV/prefix

# each rebuild/install/test
make install

# running with a local config directory
$GEANY_DEV/prefix/bin/geany -c $GEANY_DEV/config
```

Which results in a much more friendly directory structure like:

```
$HOME/geany-dev
├── build
│   ├── ...build artifacts...
├── config
│   ├── ...local config...
├── prefix
│   ├── ...install artifacts...
└── source
    ├── ...source tree...
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1690#issuecomment-344779949
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171116/01e37e27/attachment.html>


More information about the Github-comments mailing list