Skip to content

Commit

Permalink
Fix compilation with spaces in directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
matlo committed Nov 22, 2018
1 parent 4527fa8 commit f73295c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ install: all
mkdir -p setup/share/locale
for translation in po/*.po; \
do \
po=$$(basename $${translation} .po); \
po=$$(basename "$${translation}" .po); \
mkdir -p setup/share/locale/$$po/LC_MESSAGES; \
msgfmt -o setup/share/locale/$$po/LC_MESSAGES/gimx.mo po/$$po.po; \
done
Expand Down
2 changes: 1 addition & 1 deletion loader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ bindir=$(prefix)/bin
sharedir=$(prefix)/share
endif

NAME=$(shell basename $(shell pwd))
NAME=$(shell basename "$(shell pwd)")

CPPFLAGS += `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs
LDLIBS += `wx-config --libs` -lstdc++
Expand Down
2 changes: 1 addition & 1 deletion po/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ install:
mkdir -p $(DESTDIR)/usr/share/locale
for translation in *.po; \
do \
po=$$(basename $${translation} .po); \
po=$$(basename "$${translation}" .po); \
mkdir -p $(DESTDIR)/usr/share/locale/$$po/LC_MESSAGES; \
msgfmt -o $(DESTDIR)/usr/share/locale/$$po/LC_MESSAGES/gimx.mo $$po.po; \
done
Expand Down

0 comments on commit f73295c

Please sign in to comment.