Skip to content

Commit

Permalink
Try to automatically re-run configure script when appropriate
Browse files Browse the repository at this point in the history
But, of course, don't try to run it unless we are actually using it!

[ jf: Update NEWS ]
  • Loading branch information
SamB authored and jonas committed Sep 30, 2012
1 parent 401d81c commit 4500f5b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -147,7 +147,9 @@ dist: configure tig.spec
rpm: dist
rpmbuild -ta $(TARNAME).tar.gz

configure: configure.ac acinclude.m4
# Other autoconf-related rules are hidden in config.make.in so that
# they don't confuse Make when we aren't actually using ./configure
configure: configure.ac acinclude.m4 contrib/*.m4
./autogen.sh

.PHONY: all all-debug doc doc-man doc-html install install-doc \
Expand Down
2 changes: 2 additions & 0 deletions NEWS
Expand Up @@ -40,6 +40,8 @@ Improvements:
commit IDs in the main view and ID width in the blame view. (GH #77)
- Allow to override git-based encoding to UTF-8 by setting
'i18n.commitencoding' or 'gui.encoding'.
- Improve autobuild support to track generated files and work with
autoreconf 2.61.

Bug fixes:

Expand Down
8 changes: 8 additions & 0 deletions config.make.in
Expand Up @@ -19,3 +19,11 @@ XMLTO = @XMLTO@
DOCBOOK2PDF = @DOCBOOK2PDF@

%.o: config.h

config.status: configure
./config.status --recheck

config.h config.make: config.status
./config.status $@

config.make: config.make.in

0 comments on commit 4500f5b

Please sign in to comment.