From 732fc8cad71523e24a12d20ced8808d128649baa Mon Sep 17 00:00:00 2001 From: David Ward Date: Sun, 27 Mar 2022 17:11:56 -0400 Subject: [PATCH] Rename doc/*/template.desc. for Windows compatibility Windows does not allow filenames ending in a period ("."), preventing this git repository from even being checked out on a Windows system. Drop the trailing period in these two filenames. Both files will still be skipped during the build, since they are not included in DESC_FILES or DESC_EXT_FILES in doc/Makefile.am. --- doc/Makefile.am | 4 ++-- doc/backend-writing.txt | 2 +- doc/descriptions-external/{template.desc. => template.desc} | 0 doc/descriptions/{template.desc. => template.desc} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename doc/descriptions-external/{template.desc. => template.desc} (100%) rename doc/descriptions/{template.desc. => template.desc} (100%) diff --git a/doc/Makefile.am b/doc/Makefile.am index 3e8eec4b8..f050abb39 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -186,7 +186,7 @@ DESC_FILES = descriptions/abaton.desc descriptions/agfafocus.desc \ descriptions/umax1220u.desc descriptions/umax.desc \ descriptions/umax_pp.desc descriptions/unsupported.desc \ descriptions/v4l.desc descriptions/xerox_mfp.desc -EXTRA_DIST += $(DESC_FILES) descriptions/template.desc. +EXTRA_DIST += $(DESC_FILES) descriptions/template.desc DESC_EXT_FILES = descriptions-external/brother2.desc \ descriptions-external/brother.desc \ @@ -210,7 +210,7 @@ DESC_EXT_FILES = descriptions-external/brother2.desc \ descriptions-external/utsushi.desc \ descriptions-external/v4l2.desc \ descriptions-external/viceo.desc -EXTRA_DIST += $(DESC_EXT_FILES) descriptions-external/template.desc. +EXTRA_DIST += $(DESC_EXT_FILES) descriptions-external/template.desc install-data-local: install-beman5 diff --git a/doc/backend-writing.txt b/doc/backend-writing.txt index cb2a97142..0ba324e2d 100644 --- a/doc/backend-writing.txt +++ b/doc/backend-writing.txt @@ -420,7 +420,7 @@ DOCUMENTATION "doc/descriptions-external" (for included and external backends). * "doc/descriptions.txt" describes the format of the ".desc" files. There is - also a template for new .desc files: "template.desc.". The format of the + also a template for new .desc files: "template.desc". The format of the files in the two directories is very similar. If you'd like to try parsing your creation to recreate the sane-backends webpages, cd into "tools/" and enter "make sane-desc". You can either use sane-desc directly (try diff --git a/doc/descriptions-external/template.desc. b/doc/descriptions-external/template.desc similarity index 100% rename from doc/descriptions-external/template.desc. rename to doc/descriptions-external/template.desc diff --git a/doc/descriptions/template.desc. b/doc/descriptions/template.desc similarity index 100% rename from doc/descriptions/template.desc. rename to doc/descriptions/template.desc