]> git.donarmstrong.com Git - neurodebian.git/blob - debian/rules
9c7a1cb34865e59f6b4ab0134cec404ed9e5d36f
[neurodebian.git] / debian / rules
1 #!/usr/bin/make -f
2
3 ICONS_SIZE=32
4
5 # one ring to rule them all ...
6 %:
7         dh $@
8
9 override_dh_auto_configure:
10
11 override_dh_auto_build::
12         # wallpaper
13         [ ! -d build/wallpaper ] && mkdir -p build/wallpaper
14         xcf2png -o build/wallpaper/neurodebian.png artwork/wallpaper_hotbrain.xcf
15         # icons
16         [ ! -d build/icons ] && mkdir -p build/icons
17         inkscape artwork/icon.svg -w $(ICONS_SIZE) -h $(ICONS_SIZE) \
18                 -e build/icons/neurodebian.png
19         inkscape artwork/electrophysiology.svg -w $(ICONS_SIZE) -h $(ICONS_SIZE) \
20                 -e build/icons/neurodebian-electrophysiology.png
21         cp artwork/icon.svg build/icons/neurodebian.svg
22         convert -geometry $(ICONS_SIZE)x$(ICONS_SIZE) artwork/mri.png build/icons/neurodebian-imaging.png
23         # manpages
24         [ ! -d build/man ] && mkdir -p build/man
25         help2man -h '--verbose-help' --no-info tools/backport-dsc \
26                 -n "backport Debian source packages" > build/man/backport-dsc.1
27         help2man --no-info tools/nd-autoinstall \
28                 -n "install (if necessary) and run an application" > build/man/nd-autoinstall.1
29
30 override_dh_auto_install::
31
32 override_dh_auto_test::