* Fix a bug that would cause distclean to fail if config.h didn't exist
* Make sure the options target is run when running make dunst
* Remove debug target as the optimization override it was doing was only
applied in the linking phase. Optimizations are applied during
compilation, not linking, and I don't see any easy way to fix that so
let's drop the target entirely.
distclean target should restore the directory tree to the state it
originally before make was invoked. In our case it means calling the
clean target to remove the compiled blobs and removing the
auto-generated config.h.
Move README to docs/dunst.pod to be used as man page. Write a README with building instructions and dependencies. Remove INSTALL as it's no longer necessary.
Move the main function to main.c in the git root to allow for
alternative main functions to be linked in its place. Specifically this
will be used to link the test runner main to run tests.
Put all global variables that store user settings into
a struct to keep the namespace clean. Move loading of
settings into own file so that only the namespace of
settings.c gets polluted with the stuff from config.h
* run code through `indent --no-tabs -linux`
* use generic list implemenation for queues
This sould have been multiple commits but some git foobar on my part
made me loose the history :-/
Instead of using iniparser, which is rarely packaged, and is an
external dependency, use an embedded copy of inih instead, which is
only a hundred or so lines, and can do pretty much the same as
iniparser.
The benefit is one less external dependency, and it makes it easier
for distributions to package dunst.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>