summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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