Makefile fixes for make install, by 00.rgb.studios (Issue 173)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@836 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
507a6bebd9
commit
c2da50357a
2
Makefile
2
Makefile
@ -276,6 +276,8 @@ install : $(BIN)
|
||||
test -d $(DESTDIR)$(datadir)/grafx2 || $(MKDIR) $(DESTDIR)$(datadir)/grafx2
|
||||
test -d $(DESTDIR)$(datadir)/grafx2/fonts || $(MKDIR) $(DESTDIR)$(datadir)/grafx2/fonts
|
||||
test -d $(DESTDIR)$(datadir)/grafx2/skins || $(MKDIR) $(DESTDIR)$(datadir)/grafx2/skins
|
||||
test -d $(DESTDIR)$(datadir)/applications || $(MKDIR) $(DESTDIR)$(datadir)/applications
|
||||
test -d $(DESTDIR)$(datadir)/icons || $(MKDIR) $(DESTDIR)$(datadir)/icons
|
||||
# Generate launcher script
|
||||
echo "#!/bin/sh" > $(DESTDIR)$(bindir)/grafx2
|
||||
echo $(datadir)/grafx2/$(BIN) '$$*' >> $(DESTDIR)$(bindir)/grafx2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user