Remove boilarplate from debian/rules
[sven/exfat-utils.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 %:
8         dh $@ 
9
10 override_dh_auto_build:
11         scons
12
13 override_dh_auto_clean:
14         scons -c
15
16 override_dh_auto_install:
17         mkdir -p debian/exfat-utils/sbin
18         cd debian/exfat-utils/sbin && \
19                 ln -s exfatfsck fsck.exfat; \
20                 ln -s mkexfatfs mkfs.exfat
21
22         mkdir -p debian/exfat-utils/usr/share/man/man8
23         cd debian/exfat-utils/usr/share/man/man8 && \
24                 ln -s exfatfsck.8.gz fsck.exfat.8.gz; \
25                 ln -s mkexfatfs.8.gz mkfs.exfat.8.gz