gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11826: break out setting up the dir


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11826: break out setting up the directory for Debian builds in a separate target to make debugging easier.
Date: Thu, 28 Jan 2010 10:16:50 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11826
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Thu 2010-01-28 10:16:50 -0700
message:
  break out setting up the directory for Debian builds in a separate target to 
make debugging easier.
modified:
  packaging/deb.am
=== modified file 'packaging/deb.am'
--- a/packaging/deb.am  2010-01-27 22:58:11 +0000
+++ b/packaging/deb.am  2010-01-28 17:16:50 +0000
@@ -17,20 +17,23 @@
 
 # Build a Debian/Ubuntu .deb GNU/Linux package
 
-deb: snapshot-src snapshot-deb
+deb: snapshot-src setup-deb snapshot-deb
 
 # Build a .deb snapshot, which means we have to munge the date
 # into the proper files to build a package with the version in
 # all the right places. This involves editing the debian/changelog
 # file. Configure.ac is edited by the snapshot target.
-snapshot-deb: 
+setup-deb: 
        snapshot_dir=$(SNAPSHOT_DIR); \
        mkdir -p $${snapshot_dir}/debian; \
        cp -rfp $(srcdir)/packaging/debian/* $${snapshot_dir}/debian/; \
        if test -e $${snapshot_dir}/debian/changelog; then \
          mv -f $${snapshot_dir}/debian/changelog 
$${snapshot_dir}/debian/changelog.orig; \
          sed -e "s:trunk:$(SNAPSHOT_VERSION):" 
$${snapshot_dir}/debian/changelog.orig > $${snapshot_dir}/debian/changelog; \
-       fi; \
+       fi;
+
+snapshot-deb:
+       snapshot_dir=$(SNAPSHOT_VERSION); \
        (cd $${snapshot_dir}; dpkg-buildpackage -rfakeroot -j4)
 
 # these files are created when building packages


reply via email to

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