Commit ca73fc5dde7881a6be093b709706a344cffaae9d

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

Fixing "deb" builds.

Showing 2 changed files with 5 additions and 3 deletions   Show diff stats
Makefile.in
... ... @@ -388,7 +388,7 @@ install-conf:
388 388  
389 389  
390 390 install-dev: \
391   - $(POTDIR)/$(LIBNAME).pot
  391 + locale/$(LIBNAME).pot
392 392  
393 393 @mkdir -p $(DESTDIR)$(includedir)/v3270
394 394  
... ... @@ -406,6 +406,10 @@ install-dev: \
406 406 sdk/libv3270.pc \
407 407 $(DESTDIR)$(libdir)/pkgconfig/libv3270.pc
408 408  
  409 + # Install translation files
  410 + @$(MKDIR) $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/pot
  411 + @$(INSTALL_DATA) locale/$(LIBNAME).pot $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/pot
  412 +
409 413  
410 414 install-glade:
411 415  
... ...
locale/Makefile.in
... ... @@ -78,7 +78,5 @@ all: \
78 78 install: \
79 79 $(foreach SRC, $(basename $(wildcard *.po)), $(DESTDIR)/$(localedir)/$(SRC)/LC_MESSAGES/$(PACKAGE_NAME).mo)
80 80  
81   - @$(MKDIR) $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/pot
82   - @$(INSTALL_DATA) $(PACKAGE_NAME).pot $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/pot
83 81  
84 82  
... ...