1234567891011121314151617181920212223242526272829
  1. SUBDIRS = src
  2. dist_man1_MANS = light.1
  3. doc_DATA = README.md COPYING ChangeLog.md
  4. EXTRA_DIST = README.md COPYING ChangeLog.md
  5. if UDEV
  6. udev_DATA = 90-backlight.rules
  7. EXTRA_DIST += $(top_srcdir)/90-backlight.rules
  8. endif
  9. # lintian --profile debian -i -I --show-overrides ../$PKG.changes
  10. package:
  11. dpkg-buildpackage -uc -us -B
  12. #
  13. # Target to run when building a release
  14. #
  15. release: distcheck
  16. @for file in $(DIST_ARCHIVES); do \
  17. md5sum $$file > ../$$file.md5; \
  18. done
  19. @mv $(DIST_ARCHIVES) ../
  20. @echo
  21. @echo "Resulting release files:"
  22. @echo "================================================================="
  23. @for file in $(DIST_ARCHIVES); do \
  24. printf "$$file \tDistribution tarball\n"; \
  25. printf "$$file.md5\t"; cat ../$$file.md5 | cut -f1 -d' '; \
  26. done