rm /usr/lib/libcdck.*
gregor herrmann
18 years ago
25 | 25 | |
26 | 26 | config.status: configure |
27 | 27 | dh_testdir |
28 | # Add here commands to configure the package. | |
29 | 28 | CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
30 | 29 | |
31 | 30 | |
33 | 32 | |
34 | 33 | build-stamp: config.status |
35 | 34 | dh_testdir |
36 | ||
37 | # Add here commands to compile the package. | |
38 | 35 | $(MAKE) |
39 | ||
40 | 36 | touch build-stamp |
41 | 37 | |
42 | 38 | clean: |
44 | 40 | dh_testroot |
45 | 41 | rm -f build-stamp |
46 | 42 | |
47 | # Add here commands to clean up after the build process. | |
48 | 43 | -$(MAKE) distclean |
49 | 44 | ifneq "$(wildcard /usr/share/misc/config.sub)" "" |
50 | 45 | cp -f /usr/share/misc/config.sub config.sub |
53 | 48 | cp -f /usr/share/misc/config.guess config.guess |
54 | 49 | endif |
55 | 50 | |
56 | ||
57 | 51 | dh_clean |
58 | 52 | |
59 | 53 | install: build |
61 | 55 | dh_testroot |
62 | 56 | dh_clean -k |
63 | 57 | dh_installdirs |
64 | ||
65 | # Add here commands to install the package into debian/cdck. | |
66 | 58 | $(MAKE) install DESTDIR=$(CURDIR)/debian/cdck |
67 | ||
59 | rm -rf $(CURDIR)/debian/cdck/usr/lib | |
68 | 60 | |
69 | 61 | # Build architecture-independent files here. |
70 | 62 | binary-indep: build install |
89 | 81 | # dh_installinfo |
90 | 82 | dh_installman |
91 | 83 | # dh_link |
92 | dh_strip -Xlibcdck.la -Xlibcdck.a | |
84 | dh_strip | |
93 | 85 | dh_compress |
94 | 86 | dh_fixperms |
95 | 87 | # dh_perl |