mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Add cov-build and cov-submit targets for checking with coverity.
This commit is contained in:
parent
a842913aa7
commit
1dc39e9d99
15
Makefile.in
15
Makefile.in
@ -117,6 +117,20 @@ splint: config.status
|
|||||||
done; \
|
done; \
|
||||||
exit $$rval
|
exit $$rval
|
||||||
|
|
||||||
|
cov-build:
|
||||||
|
make clean
|
||||||
|
cov-build --dir cov-int make ${MFLAGS} all
|
||||||
|
|
||||||
|
cov-upload:
|
||||||
|
tar zcf cov-int.tgz cov-int
|
||||||
|
curl --form token=$$COVERITY_SUDO_TOKEN \
|
||||||
|
--form email=todd.miller@courtesan.com \
|
||||||
|
--form file=@cov-int.tgz \
|
||||||
|
--form version="$(VERSION)" \
|
||||||
|
https://scan.coverity.com/builds?project=sudo
|
||||||
|
|
||||||
|
cov-analyze: cov-upload
|
||||||
|
|
||||||
install-dirs install-binaries install-includes install-plugin: config.status pre-install
|
install-dirs install-binaries install-includes install-plugin: config.status pre-install
|
||||||
for d in $(SUBDIRS); do \
|
for d in $(SUBDIRS); do \
|
||||||
(cd $$d && exec $(MAKE) "INSTALL_OWNER=$(INSTALL_OWNER)" $@) && continue; \
|
(cd $$d && exec $(MAKE) "INSTALL_OWNER=$(INSTALL_OWNER)" $@) && continue; \
|
||||||
@ -327,6 +341,7 @@ clean: config.status
|
|||||||
for d in $(SUBDIRS) $(SAMPLES); do \
|
for d in $(SUBDIRS) $(SAMPLES); do \
|
||||||
(cd $$d && exec $(MAKE) $@); \
|
(cd $$d && exec $(MAKE) $@); \
|
||||||
done
|
done
|
||||||
|
-rm -rf cov-int cov-int.tgz
|
||||||
|
|
||||||
mostlyclean: clean
|
mostlyclean: clean
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user