Skip to content

Commit

Permalink
move icecc-create-env to bindir
Browse files Browse the repository at this point in the history
Although it's normally not needed to run it manually, special cases may
need it, so there's no good reason to hide it in pkglibexecdir. And it
has even its own manpage.
  • Loading branch information
llunak committed Mar 3, 2014
1 parent 63160fc commit 5f580f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion client/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
bin_PROGRAMS = icecc
pkglibexec_SCRIPTS = icecc-create-env
bin_SCRIPTS = icecc-create-env

icecc_SOURCES = \
main.cpp \
arg.cpp \
Expand Down Expand Up @@ -27,6 +28,9 @@ install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(bindir)
rm -f $(DESTDIR)$(bindir)/icerun
$(LN_S) $(bindir)/icecc $(DESTDIR)$(bindir)/icerun
$(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)
rm -f $(DESTDIR)$(pkglibexecdir)/icecc-create-env
$(LN_S) $(bindir)/icecc-create-env $(DESTDIR)$(pkglibexecdir)/icecc-create-env

$(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)/bin
for link in g++ gcc c++ cc $(CLANG_SYMLINK_WRAPPERS); do \
Expand All @@ -36,6 +40,7 @@ install-exec-local:

uninstall-local:
rm $(DESTDIR)$(bindir)/icerun
rm $(DESTDIR)$(pkglibexecdir)/icecc-create-env

for link in g++ gcc c++ cc $(CLANG_SYMLINK_WRAPPERS); do \
rm $(DESTDIR)$(pkglibexecdir)/bin/$$link ;\
Expand Down
3 changes: 1 addition & 2 deletions doc/man-icecc-create-env.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@

<refsect1>
<title>Description</title>
<para>&icecc-create-env; (<filename>/usr/lib/icecc/icecc-create-env</filename>)
is an Icecream helper that creates a new <literal role="extension">.tar.gz</literal>
<para>&icecc-create-env; is an Icecream helper that creates a new <literal role="extension">.tar.gz</literal>
archive with all the files (compiler, tools and libraries) needed to setup a
build environment.</para>
<para>Specifying <option>--gcc</option> or <option>--clang</option> as first
Expand Down

0 comments on commit 5f580f5

Please sign in to comment.