Skip to content

Commit

Permalink
Improved INSTALL file with local configured data
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Jul 28, 2012
1 parent 58def7b commit 64ea8c7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions INSTALL → INSTALL.in
Expand Up @@ -6,7 +6,7 @@ from a source tarball):
Regardless of whether this is a git repo checkout or an extracted
source tarball:

$ ./configure --prefix=/what/ever
$ ./configure --prefix=@prefix@
$ make
$ make check # optional
$ make install
Expand All @@ -17,8 +17,8 @@ set the environment variable GIT_EXEC_PATH accordingly:

$ git --exec-path
/usr/libexec/git-core
$ export GIT_EXEC_PATH=/what/ever/libexec/ndim-git-utils:/usr/libexec/git-core
$ export "GIT_EXEC_PATH=@pkglibexecdir@:$(git --exec-path)"
$ git --exec-path
/what/ever/libexec/ndim-git-utils:/usr/libexec/git-core
@pkglibexecdir@:/usr/libexec/git-core
$ git amb --help # should come up with the git-amb(1) man page

15 changes: 15 additions & 0 deletions Makefile.am
Expand Up @@ -41,6 +41,21 @@ if HAVE_NDIM_MAN2TXT
endif


all-local: INSTALL

CLEANFILES += INSTALL
EXTRA_DIST += INSTALL.in
INSTALL: $(top_srcdir)/INSTALL.in Makefile
$(SED) \
-e 's,[@]prefix@,$(prefix),g' \
-e 's,[@]pkglibexecdir@,$(pkglibexecdir),g' \
$(top_srcdir)/INSTALL.in > INSTALL

dist-hook: dist-hook-rm-INSTALL-file
dist-hook-rm-INSTALL-file:
rm -f "$(distdir)/INSTALL"


UPLOAD_DIR = upload-dir
ALL_UPLOAD_FILES = $(UPLOAD_FILES) $(distdir).tar.bz2
upload: $(UPLOAD_FILES) dist tag
Expand Down
3 changes: 3 additions & 0 deletions NEWS
@@ -1,3 +1,6 @@
ndim-git-utils 1.22.x
- Improved INSTALL file with local configured data

ndim-git-utils 1.22
- non user visible changes and small fixes

Expand Down

0 comments on commit 64ea8c7

Please sign in to comment.