mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
That eliminates the need for autogen and also combines doc/sample.config and manpage contents. Now the doc/sample.config is the primary config documentation location. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
AUTOMAKE_OPTIONS = foreign
|
|
EXTRA_DIST = LICENSE README.md CONTRIBUTING.md
|
|
|
|
SUBDIRS = gl
|
|
SUBDIRS += src doc tests
|
|
|
|
ACLOCAL_AMFLAGS = -I m4 -I gl/m4
|
|
|
|
@CODE_COVERAGE_RULES@
|
|
|
|
local-code-coverage-output: code-coverage-capture
|
|
cat ocserv-$(VERSION)-coverage/index.html|grep headerCovTableEntryLo|head -1|sed 's/^.*>\([0-9]\+\.[0-9]\+\s*%\)<.*$$/ coverage lines: \1/'
|
|
|
|
gl:
|
|
gnulib-tool --add-import --lgpl=2
|
|
|
|
clang:
|
|
make clean
|
|
scan-build ./configure
|
|
rm -rf scan.tmp
|
|
scan-build -o scan.tmp make
|
|
|
|
ctags:
|
|
find . -type f -name "*.[ch]*" | xargs @CTAGS@
|
|
|
|
cscope:
|
|
@CSCOPE@ -b -R
|
|
|
|
cref: ctags cscope
|
|
|
|
ChangeLog:
|
|
git log --pretty --numstat --summary -- | git2cl > ChangeLog
|
|
.PHONY: ChangeLog
|
|
|
|
files-update:
|
|
|
|
files-compare:
|
|
@echo "*****************************************************************"
|
|
@echo "If the following step fails, run files-update"
|
|
@echo "*****************************************************************"
|
|
|
|
dist-hook: files-compare ChangeLog
|
|
mv ChangeLog $(distdir)
|
|
test -f doc/ocserv.8 && test -f doc/ocpasswd.8 && test -f doc/occtl.8
|
|
|
|
.PHONY: files-update files-compare
|