mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
26 lines
1.2 KiB
Makefile
26 lines
1.2 KiB
Makefile
EXTRA_DIST = design.dia sample.config scripts/ocserv-script sample.passwd \
|
|
systemd/socket-activated/ocserv.service systemd/standalone/ocserv.service \
|
|
systemd/socket-activated/ocserv.socket \
|
|
dbus/org.infradead.ocserv.conf profile.xml
|
|
|
|
dist_man_MANS = ocserv.8 ocpasswd.8 occtl.8
|
|
|
|
ocserv.8: ../src/ocserv-args.def
|
|
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
|
|
@AUTOGEN@ -L../src -DMAN_SECTION=8 -Tagman-cmd.tpl "$<".tmp && \
|
|
rm -f "$<".tmp
|
|
|
|
occtl.8: ../src/occtl-args.def
|
|
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
|
|
@AUTOGEN@ -L../src -DMAN_SECTION=8 -Tagman-cmd.tpl "$<".tmp && \
|
|
rm -f "$<".tmp
|
|
|
|
ocpasswd.8: ../src/ocpasswd-args.def
|
|
-sed 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $< > "$<".tmp && \
|
|
@AUTOGEN@ -L../src -DMAN_SECTION=8 -Tagman-cmd.tpl "$<".tmp && \
|
|
rm -f "$<".tmp
|
|
|
|
install-data-local:
|
|
-test -d "$(DBUS_CONFIG_DIR)" && ! test -f $(DBUS_CONFIG_DIR)/org.infradead.ocserv.conf && $(INSTALL_DATA) dbus/org.infradead.ocserv.conf $(DBUS_CONFIG_DIR)
|
|
-test -d "/usr/lib/systemd/system/" && ! test -f /usr/lib/systemd/system/ocserv.service && $(INSTALL_DATA) systemd/standalone/ocserv.service /usr/lib/systemd/system/
|