File: rules

package info (click to toggle)
pgsphere 1.1.1+2020-10-20-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,700 kB
  • sloc: ansic: 12,032; sql: 6,091; cpp: 853; makefile: 216; perl: 168; yacc: 145; xml: 66; lex: 55; sh: 1
file content (20 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Fix C++ linking on 9.5/9.6
export PG_CXXFLAGS = -fPIC

override_dh_auto_build:
	$(MAKE) -C doc

override_dh_auto_clean:
	dh_auto_clean --buildsystem=pgxs_loop
	rm -rf results/
	$(MAKE) -C doc clean

override_dh_installdocs:
	dh_installdocs --all doc/html/
	# remove duplicate files from unwanted location
	rm -rv debian/postgresql-*-pgsphere/usr/share/doc/postgresql-doc-*

%:
	dh $@ --with pgxs_loop