summarylogtreecommitdiffstats
path: root/fix-tcldir.patch
blob: e7ab35db99cac69a874320a254c81b925aaa7b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- tcl/Makefile.am	2015-02-04 02:49:24.000000000 +0100
+++ tcl/Makefile_new.am	2015-10-26 17:53:44.914291480 +0100
@@ -1,9 +1,9 @@
 tcl_SCRIPTS = *.tcl
-tcldir = $(DESTDIR)$(libdir)/Snowmix-@SNOWMIX_VERSION@/tcl
+tcldir = $(libdir)/Snowmix-@SNOWMIX_VERSION@/tcl
 
 install-exec-hook:
-	$(MKDIR_P) $(tcldir) && \
-	cd $(tcldir) && \
+	$(MKDIR_P) $(DESTDIR)$(tcldir) && \
+	cd $(DESTDIR)$(tcldir) && \
 	$(LN_S) -f ../images/tcl_images images  && \
 	cd $(DESTDIR)$(bindir) && \
         $(LN_S) -f ../lib/Snowmix-$(VERSION)/tcl/snowcub.tcl