diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | robots.txt | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -78,6 +78,7 @@ install: all | |||
78 | $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css | 78 | $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css |
79 | $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png | 79 | $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png |
80 | $(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico | 80 | $(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico |
81 | $(INSTALL) -m 0644 robots.txt $(DESTDIR)$(CGIT_DATA_PATH)/robots.txt | ||
81 | $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) | 82 | $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) |
82 | $(COPYTREE) filters/* $(DESTDIR)$(filterdir) | 83 | $(COPYTREE) filters/* $(DESTDIR)$(filterdir) |
83 | 84 | ||
diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..4ce948f --- /dev/null +++ b/robots.txt | |||
@@ -0,0 +1,3 @@ | |||
1 | User-agent: * | ||
2 | Disallow: /*/snapshot/* | ||
3 | Allow: / | ||