Remove config.log, in the clean target (via override dh_auto_clean).
[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         rm -f config.log
16
17 override_dh_auto_install:
18         mkdir -p debian/exfat-utils/sbin
19         cd debian/exfat-utils/sbin && \
20                 ln -s exfatfsck fsck.exfat; \
21                 ln -s mkexfatfs mkfs.exfat
22
23         mkdir -p debian/exfat-utils/usr/share/man/man8
24         cd debian/exfat-utils/usr/share/man/man8 && \
25                 ln -s exfatfsck.8.gz fsck.exfat.8.gz; \
26                 ln -s mkexfatfs.8.gz mkfs.exfat.8.gz