From d7bd81f97fa1fcef6a69413743a1a5621137e10f Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 1 Jan 2024 14:01:46 -0700 Subject: [PATCH] fix: Don't store pngs, they can be automatically generated --- docs/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/Makefile diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 00000000..44b54f60 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,35 @@ +# Copyright (c) 2023 Humanitarian OpenStreetMap Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +# Humanitarian OpenStreetmap Team +# 1100 13th Street NW Suite 800 Washington, D.C. 20005 +# + +PACKAGE := org.tm-admin.py +NAME := tm-admin +VERSION := 0.1.0 + +DRAW := $(wildcard */*.odt) + +all: $(DRAW) + +apidoc: + -@doxygen + +%.png: %.odt + @echo "Generating $@ file for use in Markdown files" + -libreoffice --draw --convert-to png "$<" + +force: