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 40
|
#!/usr/bin/make -f
%:
dh $@
override_dh_installdocs:
(cd text && pdflatex daophot)
(cd text && pdflatex database)
(cd text && pdflatex fits_bintable)
(cd text && pdflatex ft)
python3 debian/idldoc.py
dh_installdocs
override_dh_installchangelogs:
dh_installchangelogs news.txt
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
./debian/tests/idlastro -l
endif
override_dh_clean:
rm -rf html
dh_clean
get-orig-source:
wget https://idlastro.gsfc.nasa.gov/ftp/astron.tar.gz
( mkdir astron ; \
cd astron ; \
tar xf ../astron.tar.gz ; \
rm -f \
pro/factor.pro pro/getwrd.pro pro/polrec.pro pro/prime.pro \
pro/recpol.pro pro/sphdist.pro pro/ymd2dn.pro \
pro/jplephinterp.pro pro/jplephread.pro pro/jplephtest.pro \
pro/tdb2tdt.pro ; \
VERSION=`tar tvf ../astron.tar.gz |grep -Eo '[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}'|sort|uniq|tail -1| tr - .` ; \
tar cf ../idlastro_$$VERSION+dfsg.orig.tar . ; \
cd .. ; \
rm -rf astron ; \
xz idlastro_$$VERSION+dfsg.orig.tar )
|