Files
ocserv/Makefile.am
Nikos Mavrogiannopoulos dfadd45b9b Makefile: removed unused rules
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-11-12 16:37:25 +01:00

46 lines
1006 B
Makefile

AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = LICENSE README.md CONTRIBUTING.md AUTHORS
DISTCLEANFILES = AUTHORS
SUBDIRS = gl
SUBDIRS += src doc tests
ACLOCAL_AMFLAGS = -I m4 -I gl/m4
@CODE_COVERAGE_RULES@
local-code-coverage-output: code-coverage-capture
cat $(CODE_COVERAGE_OUTPUT_DIRECTORY)/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
AUTHORS:
@echo -e "The authors list is autogenerated from the git history; sorted by number of commits\n" >AUTHORS
@git shortlog -sen| cut -f 2 | sed 's/@/ at /g' >> AUTHORS
ChangeLog:
git log --pretty > ChangeLog
.PHONY: ChangeLog
dist-hook: ChangeLog
mv ChangeLog $(distdir)
test -f doc/ocserv.8 && test -f doc/ocpasswd.8 && test -f doc/occtl.8
.PHONY: AUTHORS