LUMIERA.clone/admin/build_svgs/TikZ/makefile

47 lines
1.6 KiB
Makefile

# makefile - build graphic map illustrating the organisation of the Lumiera developer doc
#
# Copyright (C) Lumiera.org
# 2023, Benny Lyons <benny.lyons@gmx.net>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
# Do compile the graphics, you will require TikZ.
# On Debian, this is to be found in the texlive-pictures package.
#
# Requirements
# tex, e.g., texlive
# TikZ (on Debian in the package tetxlive-pictures
# convert contained in Imagemagic
# It is possible the png file using other tools
BUILDME=doc_map
$(BUILDME): $(BUILDME).pdf $(BUILDME).svg $(BUILDME).png
$(BUILDME).pdf: $(BUILDME).tex
pdflatex $< $@
$(BUILDME).svg: $(BUILDME).dvi
dvisvgm $<
$(BUILDME).dvi: $(BUILDME).tex
latex $<
$(BUILDME).png: $(BUILDME).svg
convert -background none -size 1024x1024 $< $@
:PHONEY: clean
clean:
@rm -f $(BUILDME).pdf $(BUILDME).svg $(BUILDME).dvi $(BUILDME).png