make sure to use Google Maps API key for official builds
authorBdale Garbee <bdale@gag.com>
Wed, 25 Jun 2014 03:12:59 +0000 (21:12 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 25 Jun 2014 03:12:59 +0000 (21:12 -0600)
Releasing
debian/rules

index 5827f21..d7b337e 100644 (file)
--- a/Releasing
+++ b/Releasing
@@ -2,6 +2,10 @@ These are Bdale's notes on how to do a release.
 
        git checkout master
 
+       - make sure the Google Maps API key is in the build chroot
+               mkdir -p /var/cache/pbuilder/base.cow/opt/google
+               cp ~/altusmetrumllc/google-maps-api-key \
+                       /var/cache/pbuilder/base.cow/opt/google/maps-api-key
        - make sure there is a doc/release-notes-<version>.xsl
        - make sure that doc/altusmetrum.xsl has the right copyright year,
          and add release to the revision history at the front (release notes
index 2b79846..ebcb3b8 100755 (executable)
@@ -18,7 +18,8 @@ prebuild:
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       PKG_CONFIG_PATH=/opt/stlink/lib/pkgconfig ./autogen.sh --prefix=/usr
+       PKG_CONFIG_PATH=/opt/stlink/lib/pkgconfig ./autogen.sh \
+               --prefix=/usr --with-google-key=/opt/google/maps-api-key
        touch configure-stamp
 
 build: build-arch build-indep