Changing docs installation dir

svn: r1416
This commit is contained in:
Alex Roitman 2003-03-31 04:10:59 +00:00
parent 9c6b0da365
commit 3f31eeeef4
8 changed files with 685 additions and 326 deletions

View File

@ -6,8 +6,6 @@ EXTRA_DIST = autogen.sh gramps.spec.in COPYING-DOCS
bin_SCRIPTS = gramps bin_SCRIPTS = gramps
grampsdocdir = $(datadir)/doc/gramps-$(VERSION)
gramps: gramps.sh gramps: gramps.sh
cp gramps.sh gramps cp gramps.sh gramps

View File

@ -115,8 +115,6 @@ SUBDIRS = src doc omf-install example
EXTRA_DIST = autogen.sh gramps.spec.in COPYING-DOCS EXTRA_DIST = autogen.sh gramps.spec.in COPYING-DOCS
bin_SCRIPTS = gramps bin_SCRIPTS = gramps
grampsdocdir = $(datadir)/doc/gramps-$(VERSION)
subdir = . subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@ -468,6 +466,8 @@ uninstall-info: uninstall-info-recursive
uninstall-info-recursive uninstall-local uninstall-recursive uninstall-info-recursive uninstall-local uninstall-recursive
#grampsdocdir = $(datadir)/doc/gramps-$(VERSION)
gramps: gramps.sh gramps: gramps.sh
cp gramps.sh gramps cp gramps.sh gramps

10
gramps2/aclocal.m4 vendored
View File

@ -809,7 +809,9 @@ AC_DEFUN([AM_PATH_PYTHON],
m4_if([$1],[],[ m4_if([$1],[],[
dnl No version check is needed. dnl No version check is needed.
# Find any Python interpreter. # Find any Python interpreter.
AC_PATH_PROG([PYTHON], _AM_PYTHON_INTERPRETER_LIST)],[ AC_PATH_PROG([PYTHON], _AM_PYTHON_INTERPRETER_LIST)
am_display_PYTHON=python
], [
dnl A version check is needed. dnl A version check is needed.
if test -n "$PYTHON"; then if test -n "$PYTHON"; then
# If the user set $PYTHON, use it and don't search something else. # If the user set $PYTHON, use it and don't search something else.
@ -830,6 +832,7 @@ AC_DEFUN([AM_PATH_PYTHON],
done]) done])
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
am_display_PYTHON=$am_cv_pathless_PYTHON
fi fi
]) ])
@ -837,7 +840,7 @@ AC_DEFUN([AM_PATH_PYTHON],
dnl the best way to do this; it's what "site.py" does in the standard dnl the best way to do this; it's what "site.py" does in the standard
dnl library. dnl library.
AC_CACHE_CHECK([for $am_cv_pathless_PYTHON version], [am_cv_python_version], AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
[am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`])
AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
@ -852,8 +855,7 @@ AC_DEFUN([AM_PATH_PYTHON],
dnl At times (like when building shared libraries) you may want dnl At times (like when building shared libraries) you may want
dnl to know which OS platform Python thinks this is. dnl to know which OS platform Python thinks this is.
AC_CACHE_CHECK([for $am_cv_pathless_PYTHON platform], AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
[am_cv_python_platform],
[am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`])
AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])

989
gramps2/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -178,7 +178,7 @@ entities = legal.xml
# ************* Begin of section some packagers may need to modify ************** # ************* Begin of section some packagers may need to modify **************
# This variable (docdir) specifies where the documents should be installed. # This variable (docdir) specifies where the documents should be installed.
# This default value should work for most packages. # This default value should work for most packages.
docdir = $(datadir)/@PACKAGE@/doc/$(docname)/$(lang) docdir = $(datadir)/@PACKAGE@/gnome/help/@PACKAGE@/$(lang)
# ************** You should not have to edit below this line ******************* # ************** You should not have to edit below this line *******************
xml_files = $(entities) $(docname).xml xml_files = $(entities) $(docname).xml

View File

@ -36,7 +36,7 @@
# ************* Begin of section some packagers may need to modify ************** # ************* Begin of section some packagers may need to modify **************
# This variable (docdir) specifies where the documents should be installed. # This variable (docdir) specifies where the documents should be installed.
# This default value should work for most packages. # This default value should work for most packages.
docdir = $(datadir)/@PACKAGE@/doc/$(docname)/$(lang) docdir = $(datadir)/@PACKAGE@/gnome/help/@PACKAGE@/$(lang)
# ************** You should not have to edit below this line ******************* # ************** You should not have to edit below this line *******************
xml_files = $(entities) $(docname).xml xml_files = $(entities) $(docname).xml

View File

@ -260,7 +260,7 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
install-exec-recursive installdirs-recursive install-recursive \ install-exec-recursive installdirs-recursive install-recursive \
uninstall-recursive check-recursive installcheck-recursive uninstall-recursive check-recursive installcheck-recursive
DIST_COMMON = README $(dist_pkgdata_DATA) $(pkgpython_PYTHON) AUTHORS \ DIST_COMMON = README $(dist_pkgdata_DATA) $(pkgpython_PYTHON) AUTHORS \
ChangeLog Makefile.am Makefile.in NEWS TODO const.py.in ChangeLog Makefile.am Makefile.in NEWS const.py.in
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = $(SUBDIRS)
all: all-recursive all: all-recursive

Binary file not shown.