]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
List paths which should be excluded from tarballs
authorMichał Kępień <michal@isc.org>
Wed, 11 Dec 2019 11:04:29 +0000 (12:04 +0100)
committerMichał Kępień <michal@isc.org>
Wed, 11 Dec 2019 14:13:00 +0000 (15:13 +0100)
Convert the logic (currently present in the form of "rm -rf" calls in
util/kit.sh) for removing files and directories which are tracked by Git
but redundant in release tarballs into a set of .gitattributes rules
which allow the same effect to be achieved using "git archive".

(cherry picked from commit 925ecb0aae7caa257c8c704364f715e463c44f47)

.gitattributes

index 198b9be40e91526f48ee6ef616c330b37ca4dc53..69799eaa672f1ede2ed2cff70227a86e375e42df 100644 (file)
@@ -3,3 +3,16 @@
 *.vcxproj.filters.in eol=crlf
 *.dsw eol=crlf
 win32utils/**.txt eol=crlf
+
+.gitignore                      export-ignore
+/EXCLUDED                       export-ignore
+/conftools                      export-ignore
+/doc/design                     export-ignore
+/doc/dev                        export-ignore
+/doc/draft                      export-ignore
+/doc/expired                    export-ignore
+/doc/rfc                        export-ignore
+/lib/lwres/man/resolver.5       export-ignore
+/util/**                        export-ignore
+/util/bindkeys.pl              -export-ignore
+/util/mksymtbl.pl              -export-ignore