Skip to content

Commit

Permalink
gettext doesn't use $prefix/share/gettext-0.20 anymore
Browse files Browse the repository at this point in the history
Instead of the short version, full version number (0.20.2) is used now.
Revert changes accomodating shortened version. Keep this change as a
separate commit in case it needs to be re-applied again.
  • Loading branch information
vslavik committed May 7, 2020
1 parent 4067507 commit 494f929
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ LIBICONV_VERSION = 1.16
PACKAGE_VERSION = $(GETTEXT_VERSION)
NUGET_VERSION = $(GETTEXT_VERSION)

_space := $(subst ,, )
GETTEXT_VERSION_SHORT := $(subst $(_space),.,$(wordlist 1,2,$(subst ., ,$(GETTEXT_VERSION))))

# Awful trickery to undo MSYS's magical path conversion (see
# http://www.mingw.org/wiki/Posix_path_conversion) which happens to break
# gettext's executable relocation support.
Expand Down Expand Up @@ -132,7 +129,7 @@ dist: stage
cp -a /mingw32/bin/libgomp*.dll $(DISTDIR)/bin
cp -a /mingw32/bin/libwinpthread*.dll $(DISTDIR)/bin
cp -a $(USR_LOCAL)/lib/gettext/cldr-plurals.exe $(DISTDIR)/lib/gettext
cp -a $(USR_LOCAL)/share/gettext-$(GETTEXT_VERSION_SHORT) $(DISTDIR)/share/gettext
cp -a $(USR_LOCAL)/share/gettext-$(GETTEXT_VERSION) $(DISTDIR)/share/gettext
cp -a $(USR_LOCAL)/share/gettext/styles $(DISTDIR)/share/gettext/
cp -a $(USR_LOCAL)/share/locale $(DISTDIR)/share/
cp -a $(USR_LOCAL)/share/doc/gettext/*.html $(DISTDIR)/doc/
Expand Down

0 comments on commit 494f929

Please sign in to comment.