Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

rules 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #!/usr/bin/make -f
  2. # debian/rules makefile for squirrelmail
  3. # Uncomment this to turn on verbose mode.
  4. #export DH_VERBOSE=1
  5. build: build-stamp
  6. build-stamp:
  7. dh_testdir
  8. clean:
  9. dh_testdir
  10. dh_testroot
  11. dh_clean
  12. install: build
  13. $(checkdir)
  14. dh_testdir
  15. dh_testroot
  16. dh_clean -k
  17. dh_installdirs
  18. dh_install
  19. mkdir -p debian/tmp/usr/share/squirrelmail/plugins/postfixadmin
  20. cp -a *.php version debian/tmp/usr/share/squirrelmail/plugins/postfixadmin
  21. cp -a locale debian/tmp/usr/share/squirrelmail/plugins/postfixadmin
  22. cp -a po debian/tmp/usr/share/squirrelmail/plugins/postfixadmin
  23. mkdir -p debian/tmp/etc/squirrelmail/plugins/
  24. cp -a *.sample debian/tmp/etc/squirrelmail/plugins/postfixadmin-config.php
  25. mkdir -p debian/tmp/DEBIAN
  26. cp debian/postinst debian/tmp/DEBIAN/postinst
  27. chmod 555 debian/tmp/DEBIAN/postinst
  28. ln -s /etc/squirrelmail/plugins/postfixadmin-config.php debian/tmp/usr/share/squirrelmail/plugins/postfixadmin/config.php
  29. find debian/tmp -name .svn | xargs -r rm -r
  30. # Build architecture-independent files here.
  31. binary-indep: build install
  32. dh_testdir
  33. dh_testroot
  34. dh_installdebconf
  35. dh_installdocs -X.svn
  36. dh_installexamples
  37. dh_installman
  38. dh_installcron
  39. dh_link
  40. dh_compress
  41. dh_fixperms -X/var
  42. dh_installdeb
  43. dh_gencontrol
  44. dh_md5sums
  45. dh_builddeb
  46. # Build architecture-dependent files here.
  47. binary-arch:
  48. binary: binary-indep binary-arch
  49. .PHONY: build clean binary-indep binary-arch binary install