mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[svn-r2418] Added the variable, PUB_PROGS, which holds the public programs
that are to be installed.
This commit is contained in:
parent
3c69d8be86
commit
ff5aa653b2
@ -58,6 +58,7 @@ LIB=
|
||||
LIB_SRC=
|
||||
LIB_OBJ=
|
||||
PUB_HDR=
|
||||
PUB_PROGS=
|
||||
PROGS=
|
||||
TEST_PROGS=
|
||||
TEST_FLAGS=
|
||||
|
@ -58,8 +58,8 @@ $(bindir):
|
||||
$(DOCDIR):
|
||||
mkdir $@ && chmod 755 $@
|
||||
|
||||
## Install the library, the public header files, and programs.
|
||||
install: $(PUB_LIB) $(PUB_HDR) $(PROGS) $(libdir) $(includedir) $(bindir)
|
||||
## Install the library, the public header files, and public programs.
|
||||
install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
|
||||
@for f in X $(PUB_LIB); do \
|
||||
if test $$f != X; then \
|
||||
($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
|
||||
@ -78,7 +78,7 @@ install: $(PUB_LIB) $(PUB_HDR) $(PROGS) $(libdir) $(includedir) $(bindir)
|
||||
fi; \
|
||||
fi; \
|
||||
done
|
||||
@for f in X $(PROGS); do \
|
||||
@for f in X $(PUB_PROGS); do \
|
||||
if test $$f != X; then \
|
||||
($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \
|
||||
fi; \
|
||||
@ -110,7 +110,7 @@ uninstall:
|
||||
@if test "X$(PUB_HDR)" != X; then \
|
||||
set -x; cd $(includedir) && $(RM) $(PUB_HDR); \
|
||||
fi
|
||||
@for f in X $(PROGS); do \
|
||||
@for f in X $(PUB_PROGS); do \
|
||||
if test $$f != X; then \
|
||||
$(LT_UNINSTALL) $(bindir)/$$f; \
|
||||
fi; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user