data-default.cabal: add Changes.pod
On Thu, 24 Oct 2024, mauke wrote:
@mauke commented on this pull request.
In data-default.cabal:
@@ -14,6 +14,9 @@ copyright: (c) 2013 Lukas Mai author: Lukas Mai maintainer: @.***>
+extra-source-files:
- Changes.pod
How is Changes.pod a source file?
This field means that Changes.pod is included in the release tarball and Hackage watches for certain filenames like Changes.md or ChangeLog.txt and shows those files as Changelog.
It also means https://cabal.readthedocs.io/en/stable/cabal-package-description-file.html#pkg-field-extra-source-files:
Files listed here are tracked by
cabal build; changes in these files cause (partial) rebuilds.
I don't want that.
On Thu, 24 Oct 2024, mauke wrote:
It also means https://cabal.readthedocs.io/en/stable/cabal-package-description-file.html#pkg-field-extra-source-files:
Files listed here are tracked by cabal build; changes in these files cause (partial) rebuilds.I don't want that.
I have just tried it out and changed Changes.pod. It triggers documentation rebuild, but not Haskell rebuild.
I get
In order, the following will be built (use -v for more details):
- data-default-0.8.0.0 (lib) (file Changes.pod changed)
(And I don't want to rebuild documentation, either.)