stunnel4/Makefile.am

59 lines
1.9 KiB
Makefile
Raw Permalink Normal View History

2017-03-28 09:58:13 +02:00
## Process this file with automake to produce Makefile.in
2017-11-15 15:03:25 +01:00
# by Michal Trojnara 2015-2017
2017-03-28 09:58:13 +02:00
ACLOCAL_AMFLAGS = -I m4
2018-03-29 12:42:35 +02:00
SUBDIRS = src doc tools tests
2017-03-28 09:58:13 +02:00
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool
EXTRA_DIST = PORTS BUGS COPYRIGHT.GPL CREDITS
EXTRA_DIST += INSTALL.W32 INSTALL.WCE INSTALL.FIPS
2017-11-15 15:03:25 +01:00
EXTRA_DIST += build-android.sh .travis.yml
2017-03-28 09:58:13 +02:00
docdir = $(datadir)/doc/stunnel
doc_DATA = INSTALL README TODO COPYING AUTHORS ChangeLog
doc_DATA += PORTS BUGS COPYRIGHT.GPL CREDITS
doc_DATA += INSTALL.W32 INSTALL.WCE INSTALL.FIPS
distcleancheck_listfiles = find -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';'
distclean-local:
rm -rf autom4te.cache
2017-11-15 15:03:25 +01:00
# rm -f $(distdir)-win32-installer.exe
2017-03-28 09:58:13 +02:00
2017-03-28 10:18:03 +02:00
#dist-hook:
2017-11-15 15:03:25 +01:00
# makensis -NOCD -DVERSION=${VERSION} \
# -DSTUNNEL_DIR=$(srcdir) \
# -DROOT_DIR=/usr/src \
2017-03-28 10:18:03 +02:00
# $(srcdir)/tools/stunnel.nsi
2017-03-28 09:58:13 +02:00
sign: dist
2017-11-15 15:03:25 +01:00
cp -f $(distdir).tar.gz $(distdir)-win32-installer.exe $(distdir)-android.zip ../dist
gpg-agent --daemon /bin/sh -c "cd ../dist; gpg --yes --armor --detach-sign --force-v3-sigs $(distdir).tar.gz; gpg --yes --armor --detach-sign --force-v3-sigs $(distdir)-win32-installer.exe; gpg --yes --armor --detach-sign --force-v3-sigs $(distdir)-android.zip"
sha256sum $(distdir).tar.gz >../dist/$(distdir).tar.gz.sha256
sha256sum $(distdir)-win32-installer.exe >../dist/$(distdir)-win32-installer.exe.sha256
sha256sum $(distdir)-android.zip >../dist/$(distdir)-android.zip.sha256
cat ../dist/$(distdir)*.sha256 | tac
cert:
$(MAKE) -C tools cert
2018-03-29 12:42:35 +02:00
test: check
2017-11-15 15:03:25 +01:00
install-data-hook:
@echo "*********************************************************"
@echo "* Type 'make cert' to also install a sample certificate *"
@echo "*********************************************************"
edit = sed \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g'
stunnel.pod: Makefile
$(edit) '$(srcdir)/$@.in' >$@
2017-03-28 09:58:13 +02:00
2017-11-15 15:03:25 +01:00
stunnel.pod: $(srcdir)/stunnel.pod