-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathMakefile.am
More file actions
71 lines (51 loc) · 2.24 KB
/
Makefile.am
File metadata and controls
71 lines (51 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Process Server (for CLI processes like Gateways or IOCs)
# Ralph Lange <ralph.lange@gmx.de> 2012-2019
# GNU Public License (GPLv3) applies - see www.gnu.org
bin_PROGRAMS = procServ
procServ_SOURCES = procServ.cc procServ.h \
connectionItem.cc acceptFactory.cc clientFactory.cc \
processFactory.cc processClass.h \
procServ.md
LDADD = $(LIBOBJS)
DISTCLEANFILES = *~ *.orig procServ.xml docbook-xsl.css pid.txt procServ.map
MAINTAINERCLEANFILES = procServ.pdf procServ.html procServ.1
MAINTAINERCLEANFILES += manage-procs.pdf manage-procs.html manage-procs.1
EXTRA_DIST = Makefile.Epics.in forkpty.c libtelnet.c libtelnet.h
EXTRA_DIST += README.md conserver.cf.example
EXTRA_DIST += git-tag.lua
# procServUtils are an add-on and not build by the regular make
EXTRA_DIST += procServUtils setup.cfg pyproject.toml
EXTRA_DIST += systemd-procserv-generator-system systemd-procserv-generator-user
doc_DATA = AUTHORS COPYING ChangeLog NEWS README.md
if INSTALL_DOC
dist_man1_MANS = procServ.1
dist_doc_DATA = procServ.md procServ.pdf procServ.html
if WITH_SYSTEMD_UTILS
dist_man1_MANS += manage-procs.1
dist_doc_DATA += manage-procs.md manage-procs.pdf manage-procs.html
endif
endif # INSTALL_DOC
if BUILD_DOC
procServ.1: $(srcdir)/procServ.md
$(PANDOC) --lua-filter=$(srcdir)/git-tag.lua -s -f gfm -t man $< -o $@
procServ.pdf: $(srcdir)/procServ.md
$(PANDOC) --lua-filter=$(srcdir)/git-tag.lua -s -f gfm -t pdf $< -o $@
procServ.html: $(srcdir)/procServ.md
$(PANDOC) --lua-filter=$(srcdir)/git-tag.lua -s -f gfm -t html $< -o $@
if WITH_SYSTEMD_UTILS
manage-procs.1: $(srcdir)/manage-procs.md
$(PANDOC) --lua-filter=$(srcdir)/git-tag.lua -s -f gfm -t man $< -o $@
manage-procs.pdf: $(srcdir)/manage-procs.md
$(PANDOC) --lua-filter=$(srcdir)/git-tag.lua -s -f gfm -t pdf $< -o $@
manage-procs.html: $(srcdir)/manage-procs.md
$(PANDOC) --lua-filter=$(srcdir)/git-tag.lua -s -f gfm -t html $< -o $@
endif
endif # BUILD_DOC
if WITH_SYSTEMD_UTILS
# Add setup for the Python procServUtils
all-local:
(cd $(srcdir); rm -rf dist)
(cd $(srcdir); $(PYTHON) -m build)
install-exec-local:
(export PIP_BREAK_SYSTEM_PACKAGES=1; cd $(srcdir); $(PYTHON) -m pip install dist/proc*.whl --force-reinstall)
endif # WITH_SYSTEMD_UTILS