commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6225 - gnuradio/branches/features/deb/debian


From: jcorgan
Subject: [Commit-gnuradio] r6225 - gnuradio/branches/features/deb/debian
Date: Thu, 30 Aug 2007 07:58:16 -0600 (MDT)

Author: jcorgan
Date: 2007-08-30 07:58:15 -0600 (Thu, 30 Aug 2007)
New Revision: 6225

Added:
   gnuradio/branches/features/deb/debian/build-pkgs.sh
   gnuradio/branches/features/deb/debian/build-source-pkg.sh
Modified:
   gnuradio/branches/features/deb/debian/rules
Log:
Clean up rules file, avoid rebuilding when possible, add helper scripts.

Added: gnuradio/branches/features/deb/debian/build-pkgs.sh
===================================================================
--- gnuradio/branches/features/deb/debian/build-pkgs.sh                         
(rev 0)
+++ gnuradio/branches/features/deb/debian/build-pkgs.sh 2007-08-30 13:58:15 UTC 
(rev 6225)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+cd ..
+svn-buildpackage \
+    --svn-ignore-new \
+    --svn-dont-clean \
+    --svn-dont-purge \
+    --svn-reuse \
+    --svn-no-links \
+    -uc \
+    -us \
+    -nc \
+    -rfakeroot
+
+


Property changes on: gnuradio/branches/features/deb/debian/build-pkgs.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: gnuradio/branches/features/deb/debian/build-source-pkg.sh
===================================================================
--- gnuradio/branches/features/deb/debian/build-source-pkg.sh                   
        (rev 0)
+++ gnuradio/branches/features/deb/debian/build-source-pkg.sh   2007-08-30 
13:58:15 UTC (rev 6225)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cd ..
+svn-buildpackage \
+    --svn-ignore-new \
+    -S \
+    -uc \
+    -us \
+    -rfakeroot
+
+


Property changes on: gnuradio/branches/features/deb/debian/build-source-pkg.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: gnuradio/branches/features/deb/debian/rules
===================================================================
--- gnuradio/branches/features/deb/debian/rules 2007-08-30 12:44:29 UTC (rev 
6224)
+++ gnuradio/branches/features/deb/debian/rules 2007-08-30 13:58:15 UTC (rev 
6225)
@@ -45,6 +45,7 @@
        touch $@
 
 update:
+       dh_testdir
        -test -r /usr/share/misc/config.sub && \
                cp -f /usr/share/misc/config.sub config.sub
        -test -r /usr/share/misc/config.guess && \
@@ -65,19 +66,16 @@
                fi; \
        fi
 
-
        dh_clean
 
-install:
+install: install-stamp
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs
 
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-#      install -m 0755 debian/usrp.hotplug \
-#              $(CURDIR)/debian/usrp/etc/hotplug.d/usb/
-
        : # make python scripts starting with '#!' executable
        for i in `find debian -mindepth 2 -type f ! -perm 755`; do \
          if head -1 $$i | grep -q '^#!'; then \
@@ -88,6 +86,9 @@
 
        dh_install --sourcedir=debian/tmp --list-missing
 
+#      install -m 0755 debian/usrp.hotplug \
+#              $(CURDIR)/debian/usrp/etc/hotplug.d/usb/
+
 #      cp -r gnuradio-examples/python/* \
 #              debian/gnuradio-examples/usr/share/gnuradio/
 #      find debian/gnuradio-examples -type f -name Makefile\* -exec rm {} \;
@@ -101,7 +102,9 @@
 #              debian/usrp/usr/bin/usrp_ra_receiver
 #      mv debian/usrp/usr/bin/usrp_psr_receiver.py \
 #              debian/usrp/usr/bin/usrp_psr_receiver
+       touch $@
 
+
 # Must not depend on anything. This is to be called by
 # binary-arch/binary-indep
 # in another 'make' thread.
@@ -125,11 +128,11 @@
        dh_installman
        dh_link
 ifneq (,$(findstring -s,$(DH_OPTIONS)))
-       dh_strip --no-package=libgnuradio-core0c2a --no-package=libusrp0c2a
-       DH_OPTIONS= dh_strip --package=libgnuradio-core0c2a \
-               --dbg-package=libgnuradio-core0c2a-dbg
-       DH_OPTIONS= dh_strip --package=libusrp0c2a \
-               --dbg-package=libusrp0c2a-dbg
+       dh_strip --no-package=libgnuradio-core0c2a
+#      DH_OPTIONS= dh_strip --package=libgnuradio-core0c2a \
+#              --dbg-package=libgnuradio-core0c2a-dbg
+#      DH_OPTIONS= dh_strip --package=libusrp0c2a \
+#              --dbg-package=libusrp0c2a-dbg
 else
        dh_strip
 endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]