File: rules

package info (click to toggle)
mpfit 1.85%2B2017.01.03-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 788 kB
  • sloc: python: 126; makefile: 16; sh: 13
file content (24 lines) | stat: -rwxr-xr-x 570 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:

override_dh_auto_build:

override_dh_auto_test:
	./debian/tests/mpfit -l

override_dh_installdocs:
	python3 debian/idldoc.py
	cp *.html html
	dh_installdocs

override_dh_clean:
	rm -rf html
	dh_clean

get-orig-source:
	wget https://cow.physics.wisc.edu/~craigm/idl/down/mpfit.tar.gz
	mv -f mpfit.tar.gz mpfit_`tar xOf mpfit.tar.gz mpfit.pro|fgrep 'Revision:'|head -1|cut -d: -f2|cut -d\  -f2`+`tar tvf mpfit.tar.gz|grep -Eo '[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}'|sort|uniq|tail -1| tr - .`.orig.tar.gz