patch-gschem_po_Makefile_in_in 1.2 KB

1234567891011121314151617181920212223242526
  1. $OpenBSD: patch-gschem_po_Makefile_in_in,v 1.1.1.1 2010/04/11 22:22:40 edd Exp $
  2. Don't use install(1) during build.
  3. Make the timestamp not depend on $(DESKTOP_I18N_LOCALE_DIR) to prevent
  4. extra recursion during install.
  5. --- gschem/po/Makefile.in.in.orig Mon Oct 5 03:38:14 2009
  6. +++ gschem/po/Makefile.in.in Mon Apr 5 17:14:29 2010
  7. @@ -431,12 +431,11 @@ DESKTOP_I18N_LOCALE_DIR = @DESKTOP_I18N_LOCALE_DIR@
  8. # the timestamp before *and* after running 'make install' so that the
  9. # make doesn't go into an infinite loop!
  10. all: stamp-i18n
  11. -stamp-i18n: $(DESKTOP_I18N_LOCALE_DIR) stamp-po Makefile
  12. +stamp-i18n: stamp-po Makefile
  13. + $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
  14. @echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
  15. - $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
  16. + $(MAKE) prefix=$(DESKTOP_I18N_LOCALE_DIR) INSTALL_DATA=cp install && cp $(srcdir)/LINGUAS $(DESKTOP_I18N_LOCALE_DIR)/$(DOMAIN).LINGUAS || rm stamp-i18n
  17. @echo timestamp > stamp-i18nT && mv stamp-i18nT stamp-i18n
  18. -$(DESKTOP_I18N_LOCALE_DIR):
  19. - $(MKDIR_P) $(DESKTOP_I18N_LOCALE_DIR)
  20. clean: clean-i18n
  21. clean-i18n: