Git init
[framework/uifw/xorg/xcb/libpthread-stubs.git] / debian / rules
1 #!/usr/bin/make -f
2
3 DEB_DH_INSTALL_SOURCEDIR=debian/tmp
4
5 include /usr/share/cdbs/1/rules/debhelper.mk
6 include /usr/share/cdbs/1/class/autotools.mk
7
8 DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/
9
10 debian/copyright: debian/copyright.debian COPYING
11         cat $+ > $@
12
13 clean::
14         -rm -f debian/copyright
15
16 common-install-prehook-arch common-install-prehook-indep:: debian/copyright
17
18 install/libpthread-stubs0::
19         if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi
20         if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
21
22 install/libpthread-stubs0-dev::
23         if test -f debian/tmp/lib/libpthread-stubs.a; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.a usr/lib; ln -s /lib/libpthread-stubs.so.0.0.0 debian/libpthread-stubs0-dev/usr/lib/libpthread-stubs.so; fi
24         dh_install -p$(cdbs_curpkg) debian/tmp/lib/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/