Makefile 704 B

1234567891011121314151617181920212223242526
  1. include common.mk
  2. all::
  3. install:: all
  4. # modules
  5. install -d $(DESTDIR)/usr/share/apt-listchanges
  6. install -m 644 apt-listchanges/*.py $(DESTDIR)/usr/share/apt-listchanges
  7. install -m 644 apt-listchanges/*.ui $(DESTDIR)/usr/share/apt-listchanges
  8. # config
  9. install -d $(DESTDIR)/etc/apt/apt.conf.d
  10. install -m 644 debian/apt.conf $(DESTDIR)/etc/apt/apt.conf.d/20listchanges
  11. # exe
  12. install -d $(DESTDIR)/usr/bin
  13. install -m 755 apt-listchanges.py $(DESTDIR)/usr/bin/apt-listchanges
  14. clean::
  15. rm -rf __pycache__ */__pycache__
  16. test::
  17. # This will check for syntax errors
  18. python3 -mcompileall apt-listchanges.py apt-listchanges debian
  19. all install clean update-po::
  20. $(MAKE) -C po $@
  21. $(MAKE) -C doc $@