You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
530 B

  1. #!/usr/bin/make -f
  2. %:
  3. dh $@
  4. VERSION=$(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
  5. TARNAME=task-overrides_$(VERSION)_all.tar.gz
  6. binary-indep:
  7. dh $@ --before dh_auto_install
  8. $(MAKE) install DESTDIR=`pwd`/debian/tasksel
  9. $(MAKE) install-data DESTDIR=`pwd`/debian/tasksel-data
  10. dh $@ --after dh_auto_install
  11. # Add tarball with overrides file for byhand processing
  12. cd debian/external-overrides && tar czvf ../../../$(TARNAME) .
  13. dpkg-distaddfile $(TARNAME) byhand -
  14. binary: binary-indep binary-arch