From d05d9df50c50ac944c81338a274b775b9972100f Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Sun, 5 Sep 2010 11:04:42 -0700 Subject: [PATCH] Rename Documentation/*.1.md to Documentation/*.md All our man pages end up in section 1 of man anyway, and it looks like that will probably never change. So let's make our filenames simpler and easier to understand. Even if we do end up adding a page in (say) section 5 someday, it's no big deal; we can just add an exception to the Makefile for it or something. Signed-off-by: Avery Pennarun --- Documentation/Makefile | 8 ++++---- Documentation/{bup-damage.1.md => bup-damage.md} | 0 Documentation/{bup-drecurse.1.md => bup-drecurse.md} | 0 Documentation/{bup-fsck.1.md => bup-fsck.md} | 0 Documentation/{bup-ftp.1.md => bup-ftp.md} | 0 Documentation/{bup-fuse.1.md => bup-fuse.md} | 0 Documentation/{bup-help.1.md => bup-help.md} | 0 Documentation/{bup-index.1.md => bup-index.md} | 0 Documentation/{bup-init.1.md => bup-init.md} | 0 Documentation/{bup-join.1.md => bup-join.md} | 0 Documentation/{bup-ls.1.md => bup-ls.md} | 0 Documentation/{bup-margin.1.md => bup-margin.md} | 0 Documentation/{bup-memtest.1.md => bup-memtest.md} | 0 Documentation/{bup-midx.1.md => bup-midx.md} | 0 Documentation/{bup-newliner.1.md => bup-newliner.md} | 0 Documentation/{bup-random.1.md => bup-random.md} | 0 Documentation/{bup-save.1.md => bup-save.md} | 0 Documentation/{bup-server.1.md => bup-server.md} | 0 Documentation/{bup-split.1.md => bup-split.md} | 0 Documentation/{bup-tick.1.md => bup-tick.md} | 0 Documentation/{bup-web.1.md => bup-web.md} | 0 Documentation/{bup.1.md => bup.md} | 0 22 files changed, 4 insertions(+), 4 deletions(-) rename Documentation/{bup-damage.1.md => bup-damage.md} (100%) rename Documentation/{bup-drecurse.1.md => bup-drecurse.md} (100%) rename Documentation/{bup-fsck.1.md => bup-fsck.md} (100%) rename Documentation/{bup-ftp.1.md => bup-ftp.md} (100%) rename Documentation/{bup-fuse.1.md => bup-fuse.md} (100%) rename Documentation/{bup-help.1.md => bup-help.md} (100%) rename Documentation/{bup-index.1.md => bup-index.md} (100%) rename Documentation/{bup-init.1.md => bup-init.md} (100%) rename Documentation/{bup-join.1.md => bup-join.md} (100%) rename Documentation/{bup-ls.1.md => bup-ls.md} (100%) rename Documentation/{bup-margin.1.md => bup-margin.md} (100%) rename Documentation/{bup-memtest.1.md => bup-memtest.md} (100%) rename Documentation/{bup-midx.1.md => bup-midx.md} (100%) rename Documentation/{bup-newliner.1.md => bup-newliner.md} (100%) rename Documentation/{bup-random.1.md => bup-random.md} (100%) rename Documentation/{bup-save.1.md => bup-save.md} (100%) rename Documentation/{bup-server.1.md => bup-server.md} (100%) rename Documentation/{bup-split.1.md => bup-split.md} (100%) rename Documentation/{bup-tick.1.md => bup-tick.md} (100%) rename Documentation/{bup-web.1.md => bup-web.md} (100%) rename Documentation/{bup.1.md => bup.md} (100%) diff --git a/Documentation/Makefile b/Documentation/Makefile index 15cb3cd..067f698 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -14,14 +14,14 @@ default: all all: man html -man: $(patsubst %.md,%,$(wildcard *.md)) +man: $(patsubst %.md,%.1,$(wildcard *.md)) -html: $(patsubst %.1.md,%.html,$(wildcard *.md)) +html: $(patsubst %.md,%.html,$(wildcard *.md)) -%: %.md.tmp Makefile +%.1: %.md.tmp Makefile $(PANDOC) -s -r markdown -w man -o $@ $< -%.html: %.1.md.tmp Makefile +%.html: %.md.tmp Makefile $(PANDOC) -s -r markdown -w html -o $@ $< .PRECIOUS: %.md.tmp diff --git a/Documentation/bup-damage.1.md b/Documentation/bup-damage.md similarity index 100% rename from Documentation/bup-damage.1.md rename to Documentation/bup-damage.md diff --git a/Documentation/bup-drecurse.1.md b/Documentation/bup-drecurse.md similarity index 100% rename from Documentation/bup-drecurse.1.md rename to Documentation/bup-drecurse.md diff --git a/Documentation/bup-fsck.1.md b/Documentation/bup-fsck.md similarity index 100% rename from Documentation/bup-fsck.1.md rename to Documentation/bup-fsck.md diff --git a/Documentation/bup-ftp.1.md b/Documentation/bup-ftp.md similarity index 100% rename from Documentation/bup-ftp.1.md rename to Documentation/bup-ftp.md diff --git a/Documentation/bup-fuse.1.md b/Documentation/bup-fuse.md similarity index 100% rename from Documentation/bup-fuse.1.md rename to Documentation/bup-fuse.md diff --git a/Documentation/bup-help.1.md b/Documentation/bup-help.md similarity index 100% rename from Documentation/bup-help.1.md rename to Documentation/bup-help.md diff --git a/Documentation/bup-index.1.md b/Documentation/bup-index.md similarity index 100% rename from Documentation/bup-index.1.md rename to Documentation/bup-index.md diff --git a/Documentation/bup-init.1.md b/Documentation/bup-init.md similarity index 100% rename from Documentation/bup-init.1.md rename to Documentation/bup-init.md diff --git a/Documentation/bup-join.1.md b/Documentation/bup-join.md similarity index 100% rename from Documentation/bup-join.1.md rename to Documentation/bup-join.md diff --git a/Documentation/bup-ls.1.md b/Documentation/bup-ls.md similarity index 100% rename from Documentation/bup-ls.1.md rename to Documentation/bup-ls.md diff --git a/Documentation/bup-margin.1.md b/Documentation/bup-margin.md similarity index 100% rename from Documentation/bup-margin.1.md rename to Documentation/bup-margin.md diff --git a/Documentation/bup-memtest.1.md b/Documentation/bup-memtest.md similarity index 100% rename from Documentation/bup-memtest.1.md rename to Documentation/bup-memtest.md diff --git a/Documentation/bup-midx.1.md b/Documentation/bup-midx.md similarity index 100% rename from Documentation/bup-midx.1.md rename to Documentation/bup-midx.md diff --git a/Documentation/bup-newliner.1.md b/Documentation/bup-newliner.md similarity index 100% rename from Documentation/bup-newliner.1.md rename to Documentation/bup-newliner.md diff --git a/Documentation/bup-random.1.md b/Documentation/bup-random.md similarity index 100% rename from Documentation/bup-random.1.md rename to Documentation/bup-random.md diff --git a/Documentation/bup-save.1.md b/Documentation/bup-save.md similarity index 100% rename from Documentation/bup-save.1.md rename to Documentation/bup-save.md diff --git a/Documentation/bup-server.1.md b/Documentation/bup-server.md similarity index 100% rename from Documentation/bup-server.1.md rename to Documentation/bup-server.md diff --git a/Documentation/bup-split.1.md b/Documentation/bup-split.md similarity index 100% rename from Documentation/bup-split.1.md rename to Documentation/bup-split.md diff --git a/Documentation/bup-tick.1.md b/Documentation/bup-tick.md similarity index 100% rename from Documentation/bup-tick.1.md rename to Documentation/bup-tick.md diff --git a/Documentation/bup-web.1.md b/Documentation/bup-web.md similarity index 100% rename from Documentation/bup-web.1.md rename to Documentation/bup-web.md diff --git a/Documentation/bup.1.md b/Documentation/bup.md similarity index 100% rename from Documentation/bup.1.md rename to Documentation/bup.md -- 2.39.5