Kai Krakow
f7f99f52b5
Generalize sed invocation rule
...
Remove the redundant sed call by generalizing the rule to apply sed to
.in templates.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-09 00:48:14 +01:00
Kai Krakow
abeb6e74b2
Add scripts to "make all" target
...
This prevents scripts being generated by "root" during "sudo make
install" phase.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-09 00:48:14 +01:00
Kai Krakow
6c67ae0d5e
Don't zap localconf in "make clean"
...
When you run "make clean", localconf is being removed. This is probably
in most cases not intentional.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-09 00:48:14 +01:00
Zygo Blaxell
9d295fab4e
Makefile: if multiple Markdown utilities are present, use the first one
...
If two utilities are found, we get commands like
/usr/bin/markdown /usr/bin/markdown_py README.md > README.html
and that doesn't work.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2018-01-07 20:23:20 -05:00
Timofey Titovets
40112faf0f
Makefile add scripts target for correctly packaging
...
Currently scheme lead to path like:
/tmp/makepkg/bees-git/pkg/bees-git/usr/lib/bees/bees
While packaging, so allow do:
make
make scripts
make install ...
make install_scripts ...
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
2017-12-21 13:26:45 +03:00
Kai Krakow
29d2d51c47
Fix libexec prefix discrepancy
...
Whoops...
2017-09-20 21:50:58 +02:00
Kai Krakow
893595190f
Allow custom libexec location
...
To install for different distributions, LIBEXEC_PREFIX can now be set.
It defaults to $(PREFIX)/usr/lib/bees as used in most common
distributions.
Local overrides are possible by setting variables in a "localconf" file
which will be included by the Makefile if it exists.
For some distributions you may want to set it to /usr/libexec or
/usr/libexec/bees.
2017-09-20 21:00:54 +02:00
Kai Krakow
5622ebd411
Bees is meant to be run as root only
...
As bees is meant to be run as root only, move it to /usr/sbin which is
usually not part of normal users path environment.
2017-09-19 20:32:09 +02:00
Kai Krakow
04cb25bd04
Move bees to libexec install dir
...
When bees is meant to be run mainly through the service frontend script,
we should move the bees binary to the libexec directory.
2017-09-19 20:30:51 +02:00
Zygo Blaxell
94ab477b90
Merge remote-tracking branch 'kakra/feature/markdown-detection'
2017-09-18 22:32:41 -04:00
Kai Krakow
23749eb634
Enable detect of markdown binary
...
Some distributions do not provide markdown as "markdown". Let's figure
out which version to use during build.
2017-09-18 01:30:59 +02:00
Zygo Blaxell
ceda8ee6c3
Makefile: add test to PHONY list
...
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2017-09-16 17:27:36 -04:00
Timofey Titovets
82b3ba76fa
Makefile: make service install compatible with debian systems
...
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
2017-01-30 05:29:28 +03:00
Timofey Titovets
03609f73db
Add help section to Makefile
...
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
2016-12-29 13:40:13 +03:00
Timofey Titovets
7f92f22dea
Add install_scripts subcommand to make
...
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
2016-12-29 13:30:08 +03:00
Timofey Titovets
f7c71a7a25
Add install subcommand to make
...
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
2016-12-29 13:27:47 +03:00
Zygo Blaxell
d126ebf930
markdown: add it and write some
2016-11-17 12:12:14 -05:00
Zygo Blaxell
cca0ee26a8
bees: remove local cruft, throw at github
2016-11-17 12:12:13 -05:00