1
1

Fix "make dist" problems from last night. Had a disparity between

opal and orte/ompi man pages -- no need to make local copies of the
man page int he opal tree; just [un]install sym links in the mandir,
like orte/ompi.

This commit was SVN r11820.
Этот коммит содержится в:
Jeff Squyres 2006-09-26 13:26:50 +00:00
родитель 7b1b4f95e3
Коммит b356fa22c9

Просмотреть файл

@ -42,46 +42,38 @@ bin_PROGRAMS = opal_wrapper
# List all man pages that will be installed # List all man pages that will be installed
man_MANS = opalcc.1 opalc++.1 man_MANS = opalcc.1
if CASE_SENSITIVE_FS
man_MANS += opalCC.1
endif
# Only include in the distribution tarball the man pages that are not # MANS are not automatically distributed
# generated (i.e., opalcc.1).
EXTRA_DIST = opalcc.1 EXTRA_DIST = $(man_MANS)
# Rules to generate the other man pages
opalc++.1: $(srcdir)/opalcc.1
cp -f $(srcdir)/opalcc.1 opalc++.1
if CASE_SENSITIVE_FS
opalCC.1: $(srcdir)/opalcc.1
cp -f $(srcdir)/opalcc.1 opalCC.1
endif
if CASE_SENSITIVE_FS if CASE_SENSITIVE_FS
install-exec-hook: install-exec-hook:
(cd $(DESTDIR)$(bindir); rm -f opalc++$(EXEEXT); $(LN_S) opal_wrapper opalc++) (cd $(DESTDIR)$(bindir); rm -f opalc++$(EXEEXT); $(LN_S) opal_wrapper opalc++)
(cd $(DESTDIR)$(bindir); rm -f opalCC$(EXEEXT); $(LN_S) opal_wrapper opalCC) (cd $(DESTDIR)$(bindir); rm -f opalCC$(EXEEXT); $(LN_S) opal_wrapper opalCC)
(cd $(DESTDIR)$(mandir)/man1; rm -f opalc++.1; $(LN_S) opalcc.1 opalc++.1)
(cd $(DESTDIR)$(mandir)/man1; rm -f opalCC.1; $(LN_S) opalcc.1 opalCC.1)
(cd $(DESTDIR)$(pkgdatadir); rm -f opalCC-wrapper-data.txt; $(LN_S) opalc++-wrapper-data.txt opalCC-wrapper-data.txt) (cd $(DESTDIR)$(pkgdatadir); rm -f opalCC-wrapper-data.txt; $(LN_S) opalc++-wrapper-data.txt opalCC-wrapper-data.txt)
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(bindir)/opalcc$(EXEEXT) \ rm -f $(DESTDIR)$(bindir)/opalcc$(EXEEXT) \
$(DESTDIR)$(bindir)/opalc++$(EXEEXT) \ $(DESTDIR)$(bindir)/opalc++$(EXEEXT) \
$(DESTDIR)$(bindir)/opalCC$(EXEEXT) \ $(DESTDIR)$(bindir)/opalCC$(EXEEXT) \
$(DESTDIR)$(mandir)/man1/opalc++.1 \
$(DESTDIR)$(mandir)/man1/opalCC.1 \
$(DESTDIR)$(pkgdatadir)/opalCC-wrapper-data.txt $(DESTDIR)$(pkgdatadir)/opalCC-wrapper-data.txt
else else
install-exec-hook: install-exec-hook:
(cd $(DESTDIR)$(bindir); rm -f opalcc$(EXEEXT); $(LN_S) opal_wrapper opalcc) (cd $(DESTDIR)$(bindir); rm -f opalcc$(EXEEXT); $(LN_S) opal_wrapper opalcc)
(cd $(DESTDIR)$(bindir); rm -f opalc++$(EXEEXT); $(LN_S) opal_wrapper opalc++) (cd $(DESTDIR)$(bindir); rm -f opalc++$(EXEEXT); $(LN_S) opal_wrapper opalc++)
(cd $(DESTDIR)$(mandir)/man1; rm -f opalc++.1; $(LN_S) opalcc.1 opalc++.1)
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(bindir)/opalcc$(EXEEXT) \ rm -f $(DESTDIR)$(bindir)/opalcc$(EXEEXT) \
$(DESTDIR)$(bindir)/opalc++$(EXEEXT) $(DESTDIR)$(bindir)/opalc++$(EXEEXT) \
$(DESTDIR)$(mandir)/man1/opalc++.1
endif endif