This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e03d559c1dbb8ea943cf4607dbdc74d3cb2996a4

commit e03d559c1dbb8ea943cf4607dbdc74d3cb2996a4
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Dec 28 04:58:19 2021 +0100

    doc: Move specifications under doc/spec
    
    Do this for both the source tree, and for the installation directory,
    to make it clear that these are specifications instead of random
    documents.
---
 Makefile.am                        | 13 +++++++++----
 debian/dpkg-dev.docs               |  8 ++++----
 doc/{ => spec}/frontend-api.txt    |  0
 doc/{ => spec}/protected-field.txt |  0
 doc/{ => spec}/rootless-builds.txt |  0
 doc/{ => spec}/triggers.txt        |  0
 man/deb-triggers.pod               |  2 +-
 man/dpkg-trigger.pod               |  2 +-
 8 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 181af84d4..38ed168e0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,10 +45,15 @@ dist_pkgdata_DATA = \
 dist_doc_DATA = \
        doc/README.api \
        doc/README.feature-removal-schedule \
-       doc/frontend-api.txt \
-       doc/protected-field.txt \
-       doc/rootless-builds.txt \
-       doc/triggers.txt \
+       # EOL
+
+docspecdir = $(docdir)/spec
+
+dist_docspec_DATA = \
+       doc/spec/frontend-api.txt \
+       doc/spec/protected-field.txt \
+       doc/spec/rootless-builds.txt \
+       doc/spec/triggers.txt \
        # EOL
 
 EXTRA_DIST = \
diff --git a/debian/dpkg-dev.docs b/debian/dpkg-dev.docs
index b39f5164a..458329008 100644
--- a/debian/dpkg-dev.docs
+++ b/debian/dpkg-dev.docs
@@ -1,4 +1,4 @@
-usr/share/doc/dpkg/frontend-api.txt
-usr/share/doc/dpkg/protected-field.txt
-usr/share/doc/dpkg/rootless-builds.txt
-usr/share/doc/dpkg/triggers.txt
+usr/share/doc/dpkg/spec/frontend-api.txt
+usr/share/doc/dpkg/spec/protected-field.txt
+usr/share/doc/dpkg/spec/rootless-builds.txt
+usr/share/doc/dpkg/spec/triggers.txt
diff --git a/doc/frontend-api.txt b/doc/spec/frontend-api.txt
similarity index 100%
rename from doc/frontend-api.txt
rename to doc/spec/frontend-api.txt
diff --git a/doc/protected-field.txt b/doc/spec/protected-field.txt
similarity index 100%
rename from doc/protected-field.txt
rename to doc/spec/protected-field.txt
diff --git a/doc/rootless-builds.txt b/doc/spec/rootless-builds.txt
similarity index 100%
rename from doc/rootless-builds.txt
rename to doc/spec/rootless-builds.txt
diff --git a/doc/triggers.txt b/doc/spec/triggers.txt
similarity index 100%
rename from doc/triggers.txt
rename to doc/spec/triggers.txt
diff --git a/man/deb-triggers.pod b/man/deb-triggers.pod
index 390b95414..c32e06a4c 100644
--- a/man/deb-triggers.pod
+++ b/man/deb-triggers.pod
@@ -115,4 +115,4 @@ depending on how it was activated.
 
 B<dpkg-trigger>(1),
 B<dpkg>(1),
-B<%PKGDOCDIR%/triggers.txt.gz>.
+B<%PKGDOCDIR%/spec/triggers.txt.gz>.
diff --git a/man/dpkg-trigger.pod b/man/dpkg-trigger.pod
index f5774bffc..bb66308d0 100644
--- a/man/dpkg-trigger.pod
+++ b/man/dpkg-trigger.pod
@@ -152,4 +152,4 @@ B<never>.
 
 B<dpkg>(1),
 B<deb-triggers>(5),
-B<%PKGDOCDIR%/triggers.txt.gz>.
+B<%PKGDOCDIR%/spec/triggers.txt.gz>.

-- 
Dpkg.Org's dpkg

Reply via email to