chiark / gitweb /
Fixed gawk script for git-tar target.
authorSven Eden <yamakuzure@gmx.net>
Thu, 23 Feb 2017 16:20:49 +0000 (17:20 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:23:22 +0000 (10:23 +0100)
commitc6999740c1a68767c5397306b8d7e14e08533111
tree124f416e54ea418a3538f3e53457aa809112ab69
parent3c55423a96cf68ea1c947b512123de2f0bc95ec0
Fixed gawk script for git-tar target.

The previous variant was nice and sleek. But unfortunately, there are
constructs like:

  #if 0
  (... old code ...)
  #else
  (... alternative code for elogind ...)
  #endif // 0

These fragments couldn't be handled by the old code, but can by the
new one.

To make this work, the precompiler macros must be set like shown above.
Apart from that, all lines like:

/// Any doxygen one-line-comments with elogind in it are removed

are removed, too. Please note the three slashes.

And finally, all commented out #include directives are removed as well.
Makefile.am
src/basic/cgroup-util.c
src/cgroups-agent/cgroups-agent.c
src/core/cgroup.c
src/login/loginctl.c
src/login/logind-core.c