diff --git a/tests/Makefile b/tests/Makefile index 438dcdd..4568bf5 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,4 +1,4 @@ -TARGETS = $(OBJDIR)tests.log +TARGETS = $(OBJDIR)shlint.log $(OBJDIR)tests.log OBJDIR = PREFIX = /usr/local DESTDIR = @@ -10,11 +10,15 @@ INSTALL = install all: $(TARGETS) +$(OBJDIR)shlint.log: ../doc/scripts/shlint.sh + ../doc/scripts/shlint.sh -P "$(PREFIX)" -- "$(OBJDIR)shlint.log" + $(OBJDIR)tests.log: $(OBJDIR)../src/configure$(EXEEXT) binary/project.conf binary/Makefile.Darwin binary/Makefile.NetBSD binary/Makefile.Windows library/project.conf library/Makefile.Darwin library/Makefile.Linux library/Makefile.NetBSD library/Makefile.Windows libtool/project.conf libtool/Makefile.Darwin libtool/Makefile.Linux libtool/Makefile.NetBSD libtool/Makefile.Windows object/project.conf object/Makefile.NetBSD package/project.conf package/Makefile.NetBSD plugin/Makefile.Darwin plugin/Makefile.NetBSD script/project.conf script/Makefile.NetBSD tests.sh ./tests.sh -P "$(PREFIX)" -- "$(OBJDIR)tests.log" clean: - $(RM) -- $(tests.log_OBJS) + $(RM) -- $(shlint.log_OBJS) $(tests.log_OBJS) + ../doc/scripts/shlint.sh -c -P "$(PREFIX)" -- "shlint.log" ./tests.sh -c -P "$(PREFIX)" -- "tests.log" distclean: clean