diff options
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) |