Commit 726cc70215203e4941ee2981f10b556365248811

Authored by Perry Werneck
1 parent 6a308188
Exists in master and in 1 other branch develop

Installing translation files with the devel.

Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
@@ -320,7 +320,8 @@ install-static: \ @@ -320,7 +320,8 @@ install-static: \
320 $(DESTDIR)$(libdir)/$(LIBNAME)-static.a 320 $(DESTDIR)$(libdir)/$(LIBNAME)-static.a
321 321
322 install-dev: \ 322 install-dev: \
323 - install-shared 323 + install-shared \
  324 + $(POTDIR)/$(LIBNAME).pot
324 325
325 @$(LN_S) \ 326 @$(LN_S) \
326 $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \ 327 $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \
@@ -344,6 +345,10 @@ install-dev: \ @@ -344,6 +345,10 @@ install-dev: \
344 libv3270.pc \ 345 libv3270.pc \
345 $(DESTDIR)$(libdir)/pkgconfig/libv3270.pc 346 $(DESTDIR)$(libdir)/pkgconfig/libv3270.pc
346 347
  348 + # Install translation files
  349 + @$(MKDIR) $(DESTDIR)$(datarootdir)/pw3270/pot
  350 + @$(INSTALL_DATA) $(POTDIR)/$(LIBNAME).pot $(DESTDIR)$(datarootdir)/pw3270/pot/$(LIBNAME).pot
  351 +
347 install-glade: 352 install-glade:
348 353
349 @mkdir -p $(DESTDIR)$(datarootdir)/glade/catalogs 354 @mkdir -p $(DESTDIR)$(datarootdir)/glade/catalogs