Install configuration.
This commit is contained in:
parent
441df63ee7
commit
d45e79218b
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -4,6 +4,10 @@ ifndef BOOK_BASE
|
||||||
BOOK_BASE=comprehensive-gpl-guide
|
BOOK_BASE=comprehensive-gpl-guide
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef WEB_INSTALL_DIR
|
||||||
|
WEB_INSTALL_DIR = /path/to/html/install/directory
|
||||||
|
endif
|
||||||
|
|
||||||
LATEX_INPUT_FILES = $(BOOK_BASE).tex compliance-guide.tex license-texts.tex enforcement-case-studies.tex gpl-lgpl.tex
|
LATEX_INPUT_FILES = $(BOOK_BASE).tex compliance-guide.tex license-texts.tex enforcement-case-studies.tex gpl-lgpl.tex
|
||||||
BOOK_CLASS_FILE = gpl-book.cls
|
BOOK_CLASS_FILE = gpl-book.cls
|
||||||
|
|
||||||
|
@ -91,6 +95,9 @@ $(BOOK_BASE).dvi: $(LATEX_INPUT_FILES) $(EPS_FIGS) ${BOOK_CLASS_FILE}
|
||||||
$(LATEX) $(BOOK_BASE).tex
|
$(LATEX) $(BOOK_BASE).tex
|
||||||
$(LATEX) $(BOOK_BASE).tex
|
$(LATEX) $(BOOK_BASE).tex
|
||||||
|
|
||||||
|
install: html
|
||||||
|
rsync -HavP --delete $(HTML_OUTPUT_DIR)/ $(WEB_INSTALL_DIR)/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
/bin/rm -f $(BOOK_BASE).ps $(BOOK_BASE).pdf $(BOOK_BASE).log texput.log $(BOOK_BASE).lg $(BOOK_BASE).tmp $(BOOK_BASE).xref *.4ct *.4tc *.aux *.dvi $(BOOK_BASE)*.html *.idv *.lg *.tmp $(BOOK_BASE).css $(BOOK_BASE).log $(BOOK_BASE).out $(BOOK_BASE)-js.* cm*png
|
/bin/rm -f $(BOOK_BASE).ps $(BOOK_BASE).pdf $(BOOK_BASE).log texput.log $(BOOK_BASE).lg $(BOOK_BASE).tmp $(BOOK_BASE).xref *.4ct *.4tc *.aux *.dvi $(BOOK_BASE)*.html *.idv *.lg *.tmp $(BOOK_BASE).css $(BOOK_BASE).log $(BOOK_BASE).out $(BOOK_BASE)-js.* cm*png
|
||||||
/bin/rm -rf public_html
|
/bin/rm -rf public_html
|
||||||
|
|
Loading…
Reference in a new issue