| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
PACKAGE=mu-cite |
| 7 |
|
| 8 |
get-orig-source: |
| 9 |
wget -O upstream.tar.gz https://github.com/cvs-m17n-org/MU-CITE/tarball/master |
| 10 |
mv -f upstream.tar.gz `LC_ALL=C tar ztvf upstream.tar.gz --utc | perl -ne 'if (/ (\d\d\d\d)-(\d\d)-(\d\d) /) {print "mu-cite_8.1+0.$$1$$2$$3.orig.tar.gz\n"; exit}'` |
| 11 |
|
| 12 |
build-indep: build-indep-stamp |
| 13 |
build-indep-stamp: |
| 14 |
dh_testdir |
| 15 |
touch $@ |
| 16 |
|
| 17 |
build-arch: |
| 18 |
|
| 19 |
build: build-indep build-arch |
| 20 |
|
| 21 |
clean: |
| 22 |
dh_testdir |
| 23 |
dh_testroot |
| 24 |
rm -f *-stamp |
| 25 |
dh_clean |
| 26 |
|
| 27 |
install-indep: |
| 28 |
dh_testdir |
| 29 |
dh_testroot |
| 30 |
dh_prep |
| 31 |
dh_installdirs |
| 32 |
cp MU-* Makefile *.el debian/$(PACKAGE)/usr/share/$(PACKAGE)/ |
| 33 |
|
| 34 |
install-arch: |
| 35 |
|
| 36 |
install: install-indep install-arch |
| 37 |
|
| 38 |
binary-indep: build-indep install-indep |
| 39 |
dh_testdir |
| 40 |
dh_testroot |
| 41 |
|
| 42 |
dh_installdocs |
| 43 |
dh_installexamples |
| 44 |
dh_installemacsen --priority 51 |
| 45 |
dh_installinfo |
| 46 |
dh_installchangelogs ChangeLog |
| 47 |
dh_compress |
| 48 |
dh_fixperms |
| 49 |
dh_installdeb |
| 50 |
dh_shlibdeps |
| 51 |
dh_gencontrol |
| 52 |
dh_md5sums |
| 53 |
dh_builddeb |
| 54 |
|
| 55 |
binary-arch: build-arch install-arch |
| 56 |
|
| 57 |
binary: binary-indep binary-arch |
| 58 |
.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install-indep install-arch install |