summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 453d6cc..6916f1e 100644
--- a/Makefile
+++ b/Makefile
@@ -8,16 +8,18 @@ MODULES = $(filter-out $(UNPACKED),$(LUALIBS))
# Files grouped by generation mode
TESTSCRIPT = test-lualibs.lua
+DIFFSCRIPT = whatsnew.lua
+SCRIPTS = $(TESTSCRIPT) $(DIFFSCRIPT)
UNPACKED = lualibs.lua lualibs-extended.lua lualibs-basic.lua
COMPILED = $(DOC_DTX)
GENERATED = $(UNPACKED) $(DOC_DTX) $(MERGED)
-SOURCE = $(DTX) $(MODULES) $(TESTSCRIPT) LICENSE README Makefile NEWS
+SOURCE = $(DTX) $(MODULES) $(SCRIPTS) LICENSE README Makefile NEWS
MERGED = lualibs-basic-merged.lua lualibs-extended-merged.lua
# Files grouped by installation location
RUNFILES = $(UNPACKED) $(MODULES)
DOCFILES = $(DOC_DTX) LICENSE README NEWS
-SRCFILES = $(DTX) $(SRC_TEX) Makefile $(TESTSCRIPT)
+SRCFILES = $(DTX) $(SRC_TEX) Makefile $(SCRIPTS)
# The following definitions should be equivalent
# ALL_FILES = $(RUNFILES) $(DOCFILES) $(SRCFILES)
@@ -49,6 +51,9 @@ world: all ctan
check: $(TESTSCRIPT)
@texlua $(TESTSCRIPT)
+news: $(DIFFSCRIPT)
+ @texlua $(DIFFSCRIPT)
+
.PHONY: all doc unpack ctan tds world
%.pdf: %.dtx