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
|