diff options
author | midipix <writeonce@midipix.org> | 2018-06-09 00:32:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-08 20:48:13 -0400 |
commit | 0794af3ae893abc2b3ef76daee2002051ba15f5f (patch) | |
tree | 7e195d94a43502feac900157d9f277bb8bd276a6 /project | |
parent | a5ee705396893981501227f47d7d5d839a3be8b6 (diff) | |
download | ntux-0794af3ae893abc2b3ef76daee2002051ba15f5f.tar.bz2 ntux-0794af3ae893abc2b3ef76daee2002051ba15f5f.tar.xz |
project: added the install-app-extras build target, for cmd specific symlinks.
Diffstat (limited to 'project')
-rw-r--r-- | project/extras.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk index 947c24f..5795402 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -33,3 +33,18 @@ clbuild-bat: --version-header=ntux_version.h \ --version-macro=NTUX_GIT_VERSION \ --link-target=app + +install-app-extras: + mkdir -p $(DESTDIR)$(BINDIR) + + rm -f bin/$(NICKNAME).stat$(OS_APP_SUFFIX).tmp + rm -f bin/$(NICKNAME).spawn$(OS_APP_SUFFIX).tmp + rm -f bin/$(NICKNAME).strace$(OS_APP_SUFFIX).tmp + + ln -s $(NICKNAME)$(OS_APP_SUFFIX) bin/$(NICKNAME).stat$(OS_APP_SUFFIX).tmp + ln -s $(NICKNAME)$(OS_APP_SUFFIX) bin/$(NICKNAME).spawn$(OS_APP_SUFFIX).tmp + ln -s $(NICKNAME)$(OS_APP_SUFFIX) bin/$(NICKNAME).strace$(OS_APP_SUFFIX).tmp + + mv bin/$(NICKNAME).stat$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME).stat$(OS_APP_SUFFIX) + mv bin/$(NICKNAME).spawn$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME).spawn$(OS_APP_SUFFIX) + mv bin/$(NICKNAME).strace$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME).strace$(OS_APP_SUFFIX) |