summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-04-09 19:24:44 +0200
committerSlávek Banko <[email protected]>2016-04-09 19:24:44 +0200
commit4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060 (patch)
tree1803f6f7dbc8573ca4faa24516ac662c0ec3b1b3 /src/Makefile.am
parent6f92e87cd510877b0ec859599a526bc3e6f1a567 (diff)
downloadqalculate-tde-4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060.tar.gz
qalculate-tde-4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060.zip
Fix qalculate symlink creation
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0712cef..a07cdf2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -55,4 +55,6 @@ noinst_HEADERS = preferences.h qalculateinsertfunctiondialog.h qalculateinsertm
qalculateresultdisplay.h
install-exec-local:
- cd $(DESTDIR)$(bindir) && rm -f qalculate; $(LN_S) qalculate-tde qalculate
+ install -d $(DESTDIR)$(bindir)
+ rm -f $(DESTDIR)$(bindir)/qalculate
+ $(LN_S) qalculate-tde $(DESTDIR)$(bindir)/qalculate