File: rules

package info (click to toggle)
pinyin-database 1.2.99-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 29,236 kB
  • ctags: 31
  • sloc: sql: 31; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh  $@

override_dh_auto_build:
	mkdir db; \
		cp create_index.sql main.db db; \
		cd db; \
		sqlite3 main.db ".read create_index.sql"

override_dh_auto_clean:
	rm -rf db