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.
 
 
 
 
 
 

31 lines
837 B

  1. # Install the English man file and include it when `make dist` is used
  2. dist_man_MANS = modemu2k.1
  3. # used by the install target
  4. LINGUAS = pt_BR it_IT
  5. # This will include the man files when `make dist` is run.
  6. EXTRA_DIST = \
  7. modemu2k.pt_BR.1 \
  8. modemu2k.it_IT.1
  9. # install translated man pages when `make install` is run.
  10. install-data-local:
  11. for lang in $(LINGUAS); do \
  12. file=$(srcdir)/$(PACKAGE_NAME).$$lang.1; \
  13. dest=$(DESTDIR)$(mandir)/$$lang/man1; \
  14. dest=`echo $$dest | sed '$(program_transform_name)'`; \
  15. $(mkinstalldirs) $$dest; \
  16. $(INSTALL_DATA) $$file $$dest/$(PACKAGE_NAME).1; \
  17. done;
  18. uninstall-local:
  19. for lang in $(LINGUAS); do \
  20. dest=$(DESTDIR)$(mandir)/$$lang/man1/$(PACKAGE).1; \
  21. dest=`echo $$dest | sed '$(program_transform_name)'`; \
  22. if test -f $$dest; then \
  23. rm -f $$dest; \
  24. fi \
  25. done;