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
|
#!/usr/bin/make -f
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh build
touch $@
clean:
dh $@
install: install-stamp
install-stamp: build-stamp
dh install
# make the module compliant with debian policy, the NDF and GSD
# libraries on which these modules depend are non-free so will
# have to be in a separate package, i will set this up at some point.
$(RM) $(TMP)/usr/share/man/man3/Astro::FITS::Header::NDF.3pm.gz
$(RM) $(TMP)/usr/share/perl5/Astro/FITS/Header/NDF.pm
$(RM) $(TMP)/usr/share/man/man3/Astro::FITS::Header::GSD.3pm.gz
$(RM) $(TMP)/usr/share/perl5/Astro/FITS/Header/GSD.pm
touch $@
binary-arch:
binary-indep: install
dh $@
binary: binary-arch binary-indep
.PHONY: binary binary-arch binary-indep install clean build
|