Add install-fuzz Makefile target to install the fuzzers and seed corpus.

The FUZZ_DESTDIR make variable needs to be set in the environment
or on the command line.
This commit is contained in:
Todd C. Miller
2021-02-18 19:38:54 -07:00
parent 5ea2acc4c2
commit 9f1e016cde
19 changed files with 167 additions and 10 deletions

View File

@@ -161,6 +161,8 @@ install-plugin: install-dirs sample_plugin.la
INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m $(shlib_mode) sample_plugin.la $(DESTDIR)$(plugindir); \
fi
install-fuzzer:
uninstall:
-$(LIBTOOL) $(LTFLAGS) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/sample_plugin.la
-test -z "$(INSTALL_BACKUP)" || \