* "export CONFIG_SHELL=/bin/bash" in debian/rules to avoid problems with
[debian/cdck.git] / debian / rules
1 #!/usr/bin/make -f
2
3 export CONFIG_SHELL=/bin/bash
4
5 %:
6         dh --with quilt $@
7
8 override_dh_auto_configure:
9 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
10         cp -f /usr/share/misc/config.sub config.sub
11 endif
12 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
13         cp -f /usr/share/misc/config.guess config.guess
14 endif
15
16         dh_auto_configure
17
18 override_dh_auto_build:
19         dh_auto_build -- -j1
20
21 override_dh_auto_install:
22         dh_auto_install -- DESTDIR=$(CURDIR)/debian/cdck
23         rm -rf $(CURDIR)/debian/cdck/usr/lib