Commit 82292befe20a401988fada7d78959ad8c80d4bd1

Authored by Jürgen Knödlseder
1 parent 1a18d781

Change *all* pythondir to pyexecdir (forgot some in the hook)

Showing 1 changed file with 3 additions and 3 deletions
cscripts/Makefile.am
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 # Scripts to be distributed in bindir 3 # Scripts to be distributed in bindir
4 binscripts = tsmerge.py 4 binscripts = tsmerge.py
5 5
6 -# Scripts to be distributed in $(pythondir)/cscripts 6 +# Scripts to be distributed in $(pyexecdir)/cscripts
7 pythonscripts = __init__.py \ 7 pythonscripts = __init__.py \
8 cspull.py cssens.py cstsdist.py cscaldb.py csresmap.py \ 8 cspull.py cssens.py cstsdist.py cscaldb.py csresmap.py \
9 cshessobs.py csobsdef.py csspec.py cslightcrv.py \ 9 cshessobs.py csobsdef.py csspec.py cslightcrv.py \
@@ -31,7 +31,7 @@ install-data-hook: @@ -31,7 +31,7 @@ install-data-hook:
31 @linklist='$(linkscripts)';\ 31 @linklist='$(linkscripts)';\
32 for p in $$linklist; do \ 32 for p in $$linklist; do \
33 rm -rf "$(DESTDIR)$(bindir)/$$p"; \ 33 rm -rf "$(DESTDIR)$(bindir)/$$p"; \
34 - ln -s "$(DESTDIR)$(pythondir)/cscripts/$$p.py" "$(DESTDIR)$(bindir)/$$p"; \  
35 - chmod +x "$(DESTDIR)$(pythondir)/cscripts/$$p.py"; \ 34 + ln -s "$(DESTDIR)$(pyexecdir)/cscripts/$$p.py" "$(DESTDIR)$(bindir)/$$p"; \
  35 + chmod +x "$(DESTDIR)$(pyexecdir)/cscripts/$$p.py"; \
36 done 36 done
37 37