Advertising
- davemor
- Thursday, November 15th, 2007 at 3:25:27pm UTC
- #!/usr/bin/make -f
- include /usr/share/cdbs/1/rules/dpatch.mk
- include /usr/share/cdbs/1/rules/simple-patchsys.mk
- config.status:
- dh_testdir
- ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"
- build:config.status
- dh_testdir
- $(MAKE)
- touch [email protected]
- clean::
- dh_testdir
- dh_testroot
- rm -f build-stamp
- -$(MAKE) distclean
- # Add here commands to clean up after the build process.
- dh_clean
- install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- # Add here commands to install the package into debian/cpptest.
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
- mkdir debian/tmp/usr/lib/pkgconfig/
- cp libcpptest.pc debian/tmp/usr/lib/pkgconfig/.
- # runtime package
- dh_install -plibcpptest --autodest debian/tmp/usr/lib/lib*.so.*
- # developer package
- dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/lib*.so
- dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/lib*.a
- dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/lib*.la
- dh_install -plibcpptest-dev --autodest debian/tmp/usr/lib/pkgconfig
- dh_install -plibcpptest-dev --autodest debian/tmp/usr/include
- # Build architecture-dependent files here.
- binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs ChangeLog
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_makeshlibs
- dh_gencontrol
- dh_md5sums
- dh_builddeb
- binary: binary-indep binary-arch
- .PHONY: build clean binary-indep binary-arch binary install
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.