File: rules

package info (click to toggle)
funtools 1.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,736 kB
  • ctags: 9,152
  • sloc: ansic: 97,119; sh: 10,716; lex: 4,589; asm: 3,281; ada: 1,681; makefile: 1,418; pascal: 1,089; cpp: 1,001; cs: 879; perl: 161; python: 119; yacc: 64; sed: 32; csh: 10; tcl: 9
file content (39 lines) | stat: -rwxr-xr-x 1,086 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	for i in . filter fitsy util wcs; do \
	  cp -a /usr/share/misc/config.* $$i ; done
	dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-shared --with-zlib=-lz --with-wcslib=-lwcstools  --with-tcl=/usr/lib --enable-dl

override_dh_auto_build: 
	dh_auto_build -- all shtclfun

override_dh_installman:
	dh_installman
	for t in  FunClose FunImageGet FunInfoPut FunRef FunColumnActivate \
	 FunImagePut FunLib FunTableRowGet FunColumnLookup FunImageRowGet \
	 FunOpen FunTableRowPut FunColumnSelect FunImageRowPut FunParamGet \
	 FunFlush FunInfoGet FunParamPut ; do \
	  s=$$(echo $$t | tr [A-Z] [a-z]) ; \
	  mv debian/libfuntools-dev/usr/share/man/man3/$$s.3 \
	     debian/libfuntools-dev/usr/share/man/man3/$$t.3 ; \
	done

override_dh_auto_clean:
	rm -f Makefile
	dh_auto_clean

override_dh_installchangelogs:
	dh_installchangelogs doc/changelog.html

override_dh_makeshlibs:
	dh_makeshlibs -Xlibtclfun.so