Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/relocatable-prog @ 13940:40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
* modules/relocatable-prog (Makefile.am): Define uninstall-hook and
uninstall-relocwrapper rule here.
* modules/relocatable-prog-wrapper (Makefile.am): ... not here.
Reported by Ian Beckwith <ianb@erislabs.net>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 19 Dec 2010 11:59:10 +0100 |
parents | 18ea6ab4e81d |
children | 4f21126cd802 |
rev | line source |
---|---|
8313 | 1 Description: |
2 Help make programs relocatable, that is, to allow them to function | |
3 properly when copied to an arbitrary directory. | |
4 | |
5 Files: | |
6 build-aux/config.libpath | |
7 build-aux/reloc-ldflags | |
8 doc/relocatable.texi | |
9 lib/relocatable.h | |
10 lib/relocatable.c | |
11 lib/progreloc.c | |
12 m4/relocatable.m4 | |
13 m4/relocatable-lib.m4 | |
9444
0c3b25464595
relocatable.m4 needs lib-ld.m4.
Bruno Haible <bruno@clisp.org>
parents:
9363
diff
changeset
|
14 m4/lib-ld.m4 |
8313 | 15 |
16 Depends-on: | |
17 relocatable-prog-wrapper | |
18 progname | |
8318 | 19 canonicalize-lgpl |
20 xalloc | |
21 xreadlink | |
22 stdbool | |
23 unistd | |
10748 | 24 memcmp |
10755 | 25 strdup |
8313 | 26 |
27 configure.ac: | |
28 gl_RELOCATABLE([$gl_source_base]) | |
29 | |
30 Makefile.am: | |
9363
4d4d1419d4ab
Use @FOO@ syntax instead of $(FOO) syntax, because it uncovers typos early.
Bruno Haible <bruno@clisp.org>
parents:
8334
diff
changeset
|
31 DEFS += -DEXEEXT=\"@EXEEXT@\" |
13940
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
32 if RELOCATABLE_VIA_WRAPPER |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
33 uninstall-hook: uninstall-relocwrapper |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
34 uninstall-relocwrapper: |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
35 if test $(RELOCATABLE) = yes; then \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
36 case '$(EXEEXT)' in \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
37 .bin*) ;; \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
38 *) cd $(top_builddir) && \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
39 $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
40 AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
41 uninstall ;; \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
42 esac; \ |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
43 fi |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
44 .PHONY: uninstall-relocwrapper |
40a6cefcc5c9
relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
45 endif |
8313 | 46 |
47 Include: | |
12008
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
10755
diff
changeset
|
48 "relocatable.h" |
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
10755
diff
changeset
|
49 "progname.h" |
8313 | 50 |
51 License: | |
52 GPL | |
53 | |
54 Maintainer: | |
55 Bruno Haible, Ben Pfaff | |
56 |