Skip to content

Commit d45c971

Browse files
committed
Makefile: create share/ultragrid separately
install -D in coreutil 8.22 (CentOS 7) didn't have the same semantic as later versions if specified together with --target-dir (creating the target dir). Syntax `install -D -m 644 x dst/x` (specifying dstfile name) would also work as one command as well.
1 parent 3f9fe34 commit d45c971

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,8 @@ install: all
694694
$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
695695
if [ -n '@MANPAGES@' ]; then $(INSTALL) -m 644 @MANPAGES@ $(DESTDIR)$(man1dir); fi
696696
if [ -n '@DLL_LIBS@' ]; then $(INSTALL) -m 644 @DLL_LIBS@ $(DESTDIR)$(bindir); fi
697-
$(INSTALL) -D -m 644 "$(srcdir)"/share/ultragrid/TimGM6mb_but_fixed__piano_.sf3 -t "$(DESTDIR)$(datadir)/ultragrid"
697+
$(INSTALL) -d -m 755 "$(DESTDIR)$(datadir)/ultragrid"
698+
$(INSTALL) -m 644 "$(srcdir)"/share/ultragrid/TimGM6mb_but_fixed__piano_.sf3 "$(DESTDIR)$(datadir)/ultragrid"
698699
if [ -n "@VULKAN@" ]; then\
699700
$(INSTALL) -D -m 644 "$(srcdir)/share/ultragrid/vulkan_shaders/"* -t "$(DESTDIR)$(datadir)/ultragrid/vulkan_shaders"; \
700701
fi

0 commit comments

Comments
 (0)