0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

Merge pull request #3 from DanySpin97/share-destdir

Respect destdir and datadir values
This commit is contained in:
Jason Volk 2019-01-20 11:02:40 -08:00 committed by GitHub
commit 41bb6001a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -811,7 +811,6 @@ dnl
dnl datadir
dnl
datadir="$prefix/share"
AC_SUBST_DIR([datadir])
RB_DEFINE_UNQUOTED([DATA_DIR], ["$datadir/${PACKAGE_TARNAME}"], [Directory where read-only assets go.])

View file

@ -7,8 +7,8 @@ datadir = @datadir@/$(PACKAGE_TARNAME)
install-mkdirs:
-@if test ! -d $(datadir); then \
echo "mkdir -p $(datadir)"; \
mkdir -p $(datadir); \
echo "mkdir -p $(DESTDIR)$(datadir)"; \
mkdir -p $(DESTDIR)$(datadir); \
fi
install: install-mkdirs