[Genabel-commits] r841 - pkg/ProbABEL/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Feb 20 10:26:54 CET 2012


Author: lckarssen
Date: 2012-02-20 10:26:54 +0100 (Mon, 20 Feb 2012)
New Revision: 841

Modified:
   pkg/ProbABEL/doc/packaging.txt
Log:
Minor changes to the packaging instructions of ProbABEL

Modified: pkg/ProbABEL/doc/packaging.txt
===================================================================
--- pkg/ProbABEL/doc/packaging.txt	2012-02-19 17:37:31 UTC (rev 840)
+++ pkg/ProbABEL/doc/packaging.txt	2012-02-20 09:26:54 UTC (rev 841)
@@ -15,14 +15,16 @@
     make distcheck
    If there are no errors, a tar.gz file of the source should be
    created. Let's create the package.
-    cd dist-packages/deb
-   Debian packages must have lowercase letters, so we'll make a copy
-   of the tar.gz file
-    tar -xzf ../../ProbABEL-0.2-0-beta.tar.gz
-    mv ProbABEL-0.2-0-beta probabel-0.2-0-beta
-    cd probabel-0.2-0-beta
+    mkdir /tmp/PA-deb
+    cp ProbABEL-0.2.0-beta.tar.gz /tmp/PA-deb
+    cd /tmp/PA-deb
+   Debian packages must have lowercase letters, so we'll have to rename
+   the directory after untar-ing it.
+    tar -xzf ProbABEL-0.2.0-beta.tar.gz
+    mv ProbABEL-0.2.0-beta probabel-0.2-0-beta
+    cd probabel-0.2.0-beta
     dh_make --single --email youremail at example.com \
-     --file ../probabel-0.2-0-beta.tar.gz --copyright gpl2 \
+     --file ../ProbABEL-0.2.0-beta.tar.gz --copyright gpl2 \
      --packagename probabel
 
    Hit the enter key to confirm the settings. Several files need to be
@@ -38,8 +40,11 @@
     dpkg-buildpackage -rfakeroot -us -uc
    This creates a ~.deb~ file in the parent directory. As a
    final touch you can check you package for errors with
-    lintian ../probabel_0.2-0-beta-1_amd64.deb
+    lintian ../probabel_0.2.0-beta-1_amd64.deb
    Several warnings will show up (e.g. binaries without man-pages),
    but we ignore these for now. If you are interested in a more
    detailed explanation of the warnings, add the -i option to the
    lintian command.
+   These last two commands can be run in one go using debuild (which
+   is part of the devscripts package):
+    debuild -i -us -uc -b



More information about the Genabel-commits mailing list