aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2014-04-13 17:06:44 +0100
committerChristopher Baines <mail@cbaines.net>2014-04-17 14:15:27 +0100
commit30f791628692be54a7222ce46f0a2d0b163fa378 (patch)
tree883fe19d5fca9c752947ecc4b2652a50c8a39913 /debian/rules
parente5acdb08d6a5d251ada74374a0bbfdda115b4c20 (diff)
downloadopenstreetmap-carto-master.tar
openstreetmap-carto-master.tar.gz
Imported Debian patch 2.13.0-1HEADdebian/2.13.0-1master
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6b90827
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ carto project.mml > style.xml
+
+override_dh_auto_install:
+ mkdir -p debian/openstreetmap-carto/usr/share/openstreetmap-carto/
+ mv style.xml debian/openstreetmap-carto/usr/share/openstreetmap-carto/
+
+override_dh_auto_clean:
+ dh_auto_clean
+ debconf-updatepo