]> git.madduck.net Git - code/myrepos.git/blob - debian/rules

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge commit 'madduck/master'
[code/myrepos.git] / debian / rules
1 #!/usr/bin/make -f
2
3 build:
4         pod2man -c mr mr > mr.1
5         (echo "[]"; echo "checkout=") > mrconfig.tmp
6         ./mr -c mrconfig.tmp ed | grep -q "horse"
7         rm -f mrconfig.tmp
8
9 clean:
10         dh_testdir
11         dh_testroot
12         dh_clean mr.1
13
14 binary-arch: build
15
16 binary-indep: build
17         dh_testdir
18         dh_testroot
19         dh_clean -k
20         dh_install mr usr/bin
21         dh_installdocs README TODO
22         dh_installexamples mrconfig mrconfig.complex
23         dh_installman *.1
24         dh_installchangelogs
25         dh_compress
26         dh_fixperms
27         dh_perl
28         dh_installdeb
29         dh_gencontrol
30         dh_md5sums
31         dh_builddeb
32
33 # Not intended for use by anyone except the author.
34 announcedir:
35         @echo ${HOME}/src/joeywiki/code/mr/news
36
37 binary: binary-indep binary-arch
38 .PHONY: build clean binary-indep binary-arch binary