Merge pull request #408 from jackwish/fix/build/readme

automake: relax GNU standard directory style
This commit is contained in:
Sergiu Deitsch 2018-12-18 16:49:36 +01:00 committed by GitHub
commit 6deff5ab23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -72,7 +72,7 @@ Basic Installation
Briefly, the shell commands `./configure; make; make install' should Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for more-detailed instructions are generic; see the `README.md' file for
instructions specific to this package. instructions specific to this package.
The `configure' shell script attempts to guess correct values for The `configure' shell script attempts to guess correct values for
@ -92,7 +92,7 @@ cache files.
If you need to do unusual things to compile the package, please try If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can diffs or instructions to the address given in the `README.md' so they can
be considered for the next release. If you are using the cache, and at be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you some point `config.cache' contains results you don't want to keep, you
may remove or edit it. may remove or edit it.
@ -190,7 +190,7 @@ Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package. `configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the `README.md' should mention any `--enable-' and `--with-' options that the
package recognizes. package recognizes.
For packages that use the X Window System, `configure' can usually For packages that use the X Window System, `configure' can usually

View File

@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in ## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS=subdir-objects AUTOMAKE_OPTIONS = subdir-objects foreign
# Make sure that when we re-make ./configure, we get the macros we need # Make sure that when we re-make ./configure, we get the macros we need
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4

View File

@ -8,7 +8,7 @@ AC_PREREQ(2.57)
AC_INIT(glog, 0.3.5, opensource@google.com) AC_INIT(glog, 0.3.5, opensource@google.com)
# The argument here is just something that should be in the current directory # The argument here is just something that should be in the current directory
# (for sanity checking) # (for sanity checking)
AC_CONFIG_SRCDIR(README) AC_CONFIG_SRCDIR(README.md)
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(src/config.h) AM_CONFIG_HEADER(src/config.h)

View File

@ -3,6 +3,6 @@ COPYING
ChangeLog ChangeLog
INSTALL INSTALL
NEWS NEWS
README README.md
doc/designstyle.css doc/designstyle.css
doc/glog.html doc/glog.html

View File

@ -55,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
## documentation. This depends on the following two lines appearing in ## documentation. This depends on the following two lines appearing in
## Makefile.am: ## Makefile.am:
## docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) ## docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
## dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README ## dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README.md
%docdir %{prefix}/share/doc/%{NAME}-%{VERSION} %docdir %{prefix}/share/doc/%{NAME}-%{VERSION}
%{prefix}/share/doc/%{NAME}-%{VERSION}/* %{prefix}/share/doc/%{NAME}-%{VERSION}/*