Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

rules
Saturday, November 24th, 2007 at 7:56:07pm UTC 

  1. #!/usr/bin/make -f
  2. # Uncomment this to turn on verbose mode.
  3. #export DH_VERBOSE=1
  4.  
  5. PACKAGE_NAME=penguintv
  6. MODULE_NAME=penguintv
  7.  
  8. PYVERS=$(shell pyversions -vr)
  9.  
  10. #include /usr/share/cdbs/1/rules/simple-patchsys.mk
  11.  
  12. clean:
  13.         dh_testdir
  14.         dh_testroot
  15.         find . -name *\.py[co] -exec rm {} \;
  16.         rm -rf build
  17.         dh_clean
  18.  
  19. build: build-stamp
  20. build-stamp: $(PYVERS:%=build-ext-%)
  21.         touch [email protected]
  22. build-ext-%:
  23.         dh_testdir
  24.         python$* setup.py build
  25.  
  26. install: install-stamp
  27. install-stamp: build-stamp $(PYVERS:%=install-ext-%)
  28. install-ext-%:
  29.         python$* setup.py install \
  30.                 --root $(CURDIR)/debian/${PACKAGE_NAME}
  31.         dh_desktop
  32. binary-indep:
  33.  
  34. binary-arch: build install
  35.         dh_testdir -a
  36.         dh_testroot -a
  37.         dh_installchangelogs -a ChangeLog
  38.         dh_installdocs -a
  39.         dh_pycentral -a
  40.         dh_strip -a
  41.         dh_compress -a -X.py
  42.         dh_fixperms -a
  43.         dh_installdeb -a
  44.         dh_shlibdeps -a
  45.         dh_gencontrol -a
  46.         dh_md5sums -a
  47.         dh_builddeb -a
  48.  
  49. binary: binary-indep binary-arch
  50.  
  51. .PHONY: build clean binary-indep binary-arch binary install configure

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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right