diff --git a/README.md b/README.md index 8345454..4227315 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,21 @@ This repository has submodules, so you need to clone recursively. cd telegram-purple +#### 1b. Cloning if you're a packager + +If you are unsure about whether you need this, then you are not a +packager and don't have any use for this. + +If you need an "orig-tarball", it can be generated by `make dist`. Note +that this automatically generates an appropriate version number like +`1.2.4-58-g8e3cebf`. You can truncate the git suffix (`-g8e3cebf`). If +the `-58` part exists, it means that you're using a development +version, which is probably not what you want. If you still want to +package this, please leave the commit number (i.e., `58`) intact, as +this indicates that this version is in fact much further than just +`1.2.4`. + + #### 2. Fetch all dependencies ##### Fedora @@ -202,7 +217,11 @@ maintainer), you need to produce a lot more files than that. Here's how you can generate a `.orig.tar.gz`: - debian/genorigtar.sh + make dist + +Note that these are incompatible with the old `debian/genorigtar.sh` +tarballs, and can't be made compatible easily. If you need the tarball +from "back then", see the documentation there. This command requires the original tar to exist (and will fail otherwise, although the error message will be misleading) will build all further files, @@ -215,7 +234,7 @@ you can call small parts of the build process directly, in order to avoid overhead like rebuilding. For example, if you only need the `.debian.tar.xz` and `.dsc` files, do this: - debian/genorigtar.sh + make dist ( cd .. && dpkg-source -b telegram-purple ) Note that the parenthesis are important.