Make-Target "validate" nach "documents" verschoben
gnupg-w32cli-1.4.4-Download-Link korrigiert
This commit is contained in:
parent
97df175329
commit
4dcf8b2b46
3 changed files with 14 additions and 5 deletions
|
@ -1,11 +1,13 @@
|
|||
# validation program
|
||||
VALIDATE_BIN := validate
|
||||
# our self written documents
|
||||
LYX_FILES := $(shell find -name *.lyx)
|
||||
LYX_FILES := $(shell find -name *.lyx -type f)
|
||||
# the tex output of lyx
|
||||
TEX_FILES := $(patsubst %.lyx,%.tex,$(LYX_FILES))
|
||||
# output files of lyx that are already processed by mod_html_files.py
|
||||
EXPORT_DIRS := $(shell for a in $(LYX_FILES); do echo -n "$$a" | sed "s%/\([^/]*\).lyx%/export-%"; echo "$$(basename $${a%.lyx})" ; done)
|
||||
# png files (get converted to eps)
|
||||
PNG_FILES := $(shell find -name *.png)
|
||||
PNG_FILES := $(shell find -name *.png -type f)
|
||||
# converted eps files
|
||||
EPS_FILES := $(patsubst %.png,%.eps,$(PNG_FILES))
|
||||
# menue and footer files
|
||||
|
@ -24,9 +26,16 @@ LATEX2HTML_OPTS := -no_auto_link -split 0 -no_navigation -no_subdir -info 0 -sty
|
|||
# if another target depends on them (they do not look for timestamps)
|
||||
.PHONY : clean clean-targets install all
|
||||
|
||||
|
||||
# default target
|
||||
all: $(EXPORT_DIRS)
|
||||
|
||||
|
||||
# validate the html files
|
||||
validate: $(EXPORT_DIRS)
|
||||
@$(VALIDATE_BIN) $(shell find $(CCD_BUILD_DIR)/doku/ -name *.html -type f)
|
||||
|
||||
|
||||
# copy the created files to the destination directory (usually outside of this directory tree)
|
||||
install: $(EXPORT_DIRS)
|
||||
echo $(EXPORT_DIRS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue