mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-24 22:50:39 +01:00
make: Replace cat by $(CAT)
This commit is contained in:
parent
9f4e02e618
commit
26baa6a3b4
14 changed files with 34 additions and 33 deletions
|
|
@ -95,7 +95,7 @@ define mangle_tmpl
|
|||
@echo "+ generating $< -> $@"
|
||||
@if [ $(suffix $@) = tex ]; then echo -e $(TEX_WARN_DONT_EDIT) > $@; fi
|
||||
@if [ $(suffix $@) = html ]; then echo -e $(HTML_WARN_DONT_EDIT) > $@; fi
|
||||
cat $< | $(SED) -e "\
|
||||
$(CAT) $< | $(SED) -e "\
|
||||
s%__DATE__%$(DATE)%g; \
|
||||
s%__AUTHORS__%$(AUTHORS)%g; \
|
||||
s%__CONTACT_EMAIL__%$(CONTACT_EMAIL)%g; \
|
||||
|
|
@ -264,8 +264,8 @@ $(HTMLDIR): $(LATEX_INPUT) $(HTML_INPUT)
|
|||
latex $(TEX4HT_FIRST_LATEX_LINE) $(MAIN)
|
||||
tex4ht $(MAIN)
|
||||
t4ht -d$(HTMLDIR) $(MAIN)
|
||||
#cat index_head.html $(MAIN.html) index_tail.html > index.html
|
||||
cat $(MAIN.html) > index.html
|
||||
#$(CAT) index_head.html $(MAIN.html) index_tail.html > index.html
|
||||
$(CAT) $(MAIN.html) > index.html
|
||||
mv *.html *.css $(HTMLDIR)
|
||||
mkdir -p $(addprefix $(HTMLDIR)/,$(sort $(dir $(shell $(CMD_PARSE_GRAPHICS)))))
|
||||
for g in $(sort $(shell $(CMD_PARSE_GRAPHICS))); do cp $$g $(HTMLDIR)/$$g; done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue