From 05fc2f54567af46df7c215dfdca99e2f71d47b78 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sun, 11 Jul 2021 09:43:42 +0200 Subject: [PATCH] Add Makefile --- .gitignore | 3 ++- Makefile | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index fe107c2..cdf2ad6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/data.json \ No newline at end of file +/data.json +/public \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..20d7fef --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +DESTDIR=public + +help: + @echo "Options:" + @echo " all Build all" + +all: + install -d $(DESTDIR) + install *.php $(DESTDIR) + install *.png $(DESTDIR) + install .htaccess $(DESTDIR) \ No newline at end of file