From 41166cee345319221ee9e49f105185ffdf2badbc Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 11 Oct 2014 03:50:41 +0200 Subject: add robot.txt to makefile --- Makefile | 4 ++-- robots.txt | 2 -- src/robots.txt | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 robots.txt create mode 100644 src/robots.txt diff --git a/Makefile b/Makefile index e9c8ec2..7f975af 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CSS := style.css PARTIALS := $(addprefix partials/, meta.html nav.html footer.html) WELLKNOWN := $(addprefix .well-known/, keybase.txt) -FILES := $(HTML) $(CSS) sitemap.xml sitemap1.xml +FILES := $(HTML) $(CSS) robots.txt sitemap.xml sitemap1.xml site: $(addprefix build/, $(FILES) $(WELLKNOWN)) @@ -19,7 +19,7 @@ build/%.css: src/%.css @install -Dm644 $< $@ @echo Compiled $< → $@ -build/%.xml: src/%.xml +build/%: src/% @install -Dm644 $< $@ @echo Compiled $< → $@ diff --git a/robots.txt b/robots.txt deleted file mode 100644 index c2a49f4..0000000 --- a/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Allow: / diff --git a/src/robots.txt b/src/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/src/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / -- cgit v1.2.3-70-g09d2