File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / ipsec / Makefile.am
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:45 2020 UTC (4 years, 4 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

    1: sbin_SCRIPTS = _ipsec
    2: CLEANFILES = _ipsec _ipsec.8
    3: dist_man8_MANS = _ipsec.8
    4: EXTRA_DIST = _ipsec.in _ipsec.8.in Android.mk
    5: 
    6: _ipsec.8 : _ipsec.8.in
    7: 	$(AM_V_GEN) \
    8: 	sed \
    9: 	-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
   10: 	-e "s:@IPSEC_SCRIPT@:$(ipsec_script):g" \
   11: 	-e "s:@IPSEC_SCRIPT_UPPER@:$(ipsec_script_upper):g" \
   12: 	-e "s:@IPSEC_DIR@:$(ipsecdir):" \
   13: 	$(srcdir)/$@.in > $@
   14: 
   15: _ipsec : _ipsec.in
   16: 	$(AM_V_GEN) \
   17: 	sed \
   18: 	-e "s:@IPSEC_SHELL@:/bin/sh:" \
   19: 	-e "s:@IPSEC_VERSION@:$(PACKAGE_VERSION):" \
   20: 	-e "s:@IPSEC_NAME@:$(PACKAGE_NAME):" \
   21: 	-e "s:@IPSEC_DISTRO@::" \
   22: 	-e "s:@IPSEC_DIR@:$(ipsecdir):" \
   23: 	-e "s:@IPSEC_SCRIPT@:$(ipsec_script):" \
   24: 	-e "s:@IPSEC_BINDIR@:$(bindir):" \
   25: 	-e "s:@IPSEC_SBINDIR@:$(sbindir):" \
   26: 	-e "s:@IPSEC_CONFDIR@:$(sysconfdir):" \
   27: 	-e "s:@IPSEC_PIDDIR@:$(piddir):" \
   28: 	$(srcdir)/$@.in > $@
   29: 	chmod +x $@
   30: 
   31: install-exec-hook:
   32: 	mv $(DESTDIR)$(sbindir)/_ipsec $(DESTDIR)$(sbindir)/$(ipsec_script)
   33: 
   34: install-data-hook:
   35: 	mv $(DESTDIR)$(man8dir)/_ipsec.8 $(DESTDIR)$(man8dir)/$(ipsec_script).8
   36: 
   37: uninstall-hook:
   38: 	rm -f $(DESTDIR)$(sbindir)/$(ipsec_script)
   39: 	rm -f $(DESTDIR)$(man8dir)/$(ipsec_script).8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>