File: rules

package info (click to toggle)
skeema 1.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,424 kB
  • sloc: sql: 1,572; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

override_dh_auto_test:
	ln -s  /nonexistent internal/fs/testdata/cfgsymlinks1/invalidabs/.skeema
	ln -rs /nonexistent internal/fs/testdata/cfgsymlinks1/invalidrel/.skeema
	ln -rs /nonexistent internal/fs/testdata/sqlsymlinks/product/outsiderepo.sql
	dh_auto_test

override_dh_auto_install:
	dh_auto_install -- --no-source

# Manpage generation is supposed to be run manually after the binary
# package has been built and installed on the system.
debian/skeema.1:
	help2man skeema --no-info --name 'declarative database schema management system' > $@