File: rules

package info (click to toggle)
openstreetmap-carto 5.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,936 kB
  • sloc: python: 650; sh: 297; sql: 16; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
	# make sure that indexes.sql as shipped by the source package is
	# identical to the one generated by ./scripts/indexes.py
	python3 scripts/indexes.py | diff -u - indexes.sql

execute_after_dh_auto_clean:
	debconf-updatepo
	# workaround for https://github.com/gravitystorm/openstreetmap-carto/issues/4493
	chmod -x ./symbols/man_made/crane.svg