base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / text / xml / jing-trang / no-git-during-build.patch
blob3fc9b3f6ef53ca8b251da282c73a26bdaecb476a
1 From db0ed6267f1a85f0785c81b8ee396f74795c77c0 Mon Sep 17 00:00:00 2001
2 From: Thomas Gerbet <thomas@gerbet.me>
3 Date: Sat, 27 Nov 2021 10:24:07 +0100
4 Subject: [PATCH] Do not rely on Git during the build
6 ---
7 build.xml | 6 ------
8 build.xsl | 6 ------
9 2 files changed, 12 deletions(-)
11 diff --git a/build.xml b/build.xml
12 index e8ebaed8..2d26c72f 100644
13 --- a/build.xml
14 +++ b/build.xml
15 @@ -431,12 +431,6 @@
16 <target name="clean"
17 description="Remove almost all files created during the build process">
18 <delete dir="${build.dir}"/>
19 - <exec executable="git">
20 - <arg value="clean"/>
21 - <arg value="-d"/>
22 - <arg value="--force"/>
23 - <arg value="${doc.dir}"/>
24 - </exec>
25 </target>
27 <target name="realclean" depends="clean"
28 diff --git a/build.xsl b/build.xsl
29 index fb9f3fef..fa384a27 100644
30 --- a/build.xsl
31 +++ b/build.xsl
32 @@ -23,12 +23,6 @@
33 <target name="dummy"/>
34 <target name="init">
35 <mkdir dir="{$build}"/>
36 - <exec executable="git">
37 - <arg value="submodule"/>
38 - <arg value="update"/>
39 - <arg value="--init"/>
40 - <arg value="--recursive"/>
41 - </exec>
42 <copy todir="{$doc}">
43 <fileset dir="relaxng.org/jclark" includes="**"/>
44 </copy>
45 --
46 2.34.1