summaryrefslogtreecommitdiffstats
path: root/doc/dev_manual.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dev_manual.rst')
-rw-r--r--doc/dev_manual.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst
index 5671e8dae..1c61e3a70 100644
--- a/doc/dev_manual.rst
+++ b/doc/dev_manual.rst
@@ -1314,6 +1314,12 @@ Finally, call ``git ptx-patches`` to regenerate the patch series in the
``patches/foo-1.1.0`` folder.
This way they don't get lost when cleaning the package.
+.. note:: PTXdist will only create a Git repository for packages with
+ patches. To use Git to generate the first patch, create an empty series
+ file ``patches/foobar-1.1.0/series`` before extracting the packages. This
+ will tell PTXdist to use Git anyways and ``git ptx-patches`` will put the
+ patches there.
+
Both approaches (Git and quilt) are not suitable for modifying files
that are autogenerated in autotools-based buildsystems.
Refer to section :ref:`configure_rebuild` on how PTXdist can