mirror of
https://github.com/flynx/photobook.git
synced 2025-10-29 10:20:08 +00:00
makefile docs and cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4170cff9c5
commit
919f02fb3d
24
Makefile
24
Makefile
@ -1,4 +1,18 @@
|
|||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Main targets:
|
||||||
|
# doc - build class documentation.
|
||||||
|
# dist - XXX
|
||||||
|
# install - XXX
|
||||||
|
#
|
||||||
|
# Other targets:
|
||||||
|
# sweep - cleanup auxiliary generated files.
|
||||||
|
# clean - cleanup repo
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
# NOTE: this makes things run consistently on different systems including
|
# NOTE: this makes things run consistently on different systems including
|
||||||
# things like Android...
|
# things like Android...
|
||||||
@ -11,10 +25,8 @@ ARGS :=
|
|||||||
# NOTE: need to run latex two times to build index, the simpler way to
|
# NOTE: need to run latex two times to build index, the simpler way to
|
||||||
# go is to use latexmk...
|
# go is to use latexmk...
|
||||||
#TEX := lualatex $(ARGS)
|
#TEX := lualatex $(ARGS)
|
||||||
|
|
||||||
TEX := latexmk -lualatex $(ARGS)
|
TEX := latexmk -lualatex $(ARGS)
|
||||||
|
|
||||||
|
|
||||||
# Doc generator...
|
# Doc generator...
|
||||||
DOC := ./scripts/cls2tex.sh
|
DOC := ./scripts/cls2tex.sh
|
||||||
|
|
||||||
@ -51,10 +63,6 @@ DOC := ./scripts/cls2tex.sh
|
|||||||
doc: photobook.pdf
|
doc: photobook.pdf
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: doc sweep
|
|
||||||
|
|
||||||
|
|
||||||
# XXX
|
# XXX
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
dist: all
|
dist: all
|
||||||
@ -66,6 +74,10 @@ dist: all
|
|||||||
install: dist
|
install: dist
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: doc sweep
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user