diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-08-14 10:52:56 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-08-14 10:52:56 +0200 |
commit | 4b05238fee9c43acb8d05b98779e7c559e651c9d (patch) | |
tree | 301b0ac76bcd80285cb536d0661702c63f7fa93c /samples | |
parent | 70d00b9ff02d4e91e8925fc55fcab4658b6ebe37 (diff) | |
download | ekdosis-4b05238fee9c43acb8d05b98779e7c559e651c9d.tar.gz |
adapted makefiles. a few additions in the documentation. this is v1.0
Diffstat (limited to 'samples')
-rw-r--r-- | samples/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/samples/Makefile b/samples/Makefile index 49bb11b..8cb7a98 100644 --- a/samples/Makefile +++ b/samples/Makefile | |||
@@ -13,7 +13,7 @@ define dosamples | |||
13 | $(CMP) --shell-escape $1 >/dev/null | 13 | $(CMP) --shell-escape $1 >/dev/null |
14 | endef | 14 | endef |
15 | 15 | ||
16 | all: | 16 | all: test |
17 | cp ../ekdosis.{lua,sty} . | 17 | cp ../ekdosis.{lua,sty} . |
18 | $(foreach file,$(texsamples), $(call dosamples, $(file))) | 18 | $(foreach file,$(texsamples), $(call dosamples, $(file))) |
19 | rm -rf auto | 19 | rm -rf auto |
@@ -24,4 +24,10 @@ all: | |||
24 | cp -p -r .backup/* . | 24 | cp -p -r .backup/* . |
25 | rm -rf .backup | 25 | rm -rf .backup |
26 | 26 | ||
27 | test: | ||
28 | if [ ! -e ../ekdosis.sty ] || [ ! -e ../ekdosis.lua ] ;\ | ||
29 | then echo "This Makefile cannot be invoked but recursively. Aborting." && exit 1 ;\ | ||
30 | fi | ||
31 | |||
32 | .SILENT: test | ||
27 | .PHONY: all | 33 | .PHONY: all |