Template
1
0

Building with manpage

This commit is contained in:
Like-all 2015-03-19 21:12:32 +02:00
parent 8be126546c
commit cac7c3fd1b
5 changed files with 20 additions and 2 deletions

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: dumbfuck
Section: misc Section: misc
Priority: optional Priority: optional
Maintainer: Azer Abdullaev (Like All) <like-all@yandex.com> Maintainer: Azer Abdullaev (Like All) <like-all@yandex.com>
Build-Depends: debhelper (>= 9) Build-Depends: debhelper (>= 9), ruby-md2man
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Package: dumbfuck Package: dumbfuck

View File

@ -1 +1,2 @@
src/dumbfuck /usr/bin/ src/dumbfuck /usr/bin/
debian/manpages/dumbfuck.1 /usr/share/man/man1/

9
debian/manpages/dumbfuck.1.md vendored Normal file
View File

@ -0,0 +1,9 @@
# DUMBFUCK 1 2015-03-19 0.1
## NAME
dumbfuck - dumb package for testing purposes only
## SEE ALSO
debhelper(7)

2
debian/package.sh vendored
View File

@ -3,5 +3,5 @@ export DEBEMAIL="like-all@yandex.com"
NAME="dumbfuck" NAME="dumbfuck"
VERSION="0.1" VERSION="0.1"
SUFFIX="4" SUFFIX="5"
FLAVOURS="wheezy,jessie,precise,trusty" FLAVOURS="wheezy,jessie,precise,trusty"

8
debian/rules vendored
View File

@ -1,4 +1,12 @@
#!/usr/bin/make -f #!/usr/bin/make -f
override_dh_auto_configure:
dh_auto_configure
md2man-roff debian/manpages/dumbfuck.1.md > debian/manpages/dumbfuck.1
override_dh_auto_clean:
dh_auto_clean
rm -f debian/manpages/dumbfuck.1
%: %:
dh $@ dh $@