projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
indentation fix in uip/pick.c
[mmh]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index
21ffdb2
..
4012a2d
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-2,15
+2,15
@@
# Makefile for top level of mmh distribution
#
# Makefile for top level of mmh distribution
#
-# mmh version
-VERSION = @VERSION@
-
SHELL = /bin/sh
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
SHELL = /bin/sh
@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
+# mmh version
+VERSION = `sed q $(srcdir)/VERSION`
+
# ========== USER CONFIGURATION SECTION ==========
#
# If `make' is executed in the directory containing this Makefile,
# ========== USER CONFIGURATION SECTION ==========
#
# If `make' is executed in the directory containing this Makefile,
@@
-65,7
+65,7
@@
INSTALL_DATA = @INSTALL_DATA@
# distribute all files that are under version control ...
# ... plus (for convenience):
# distribute all files that are under version control ...
# ... plus (for convenience):
-DISTINCLUDE = config.h.in configure stamp-h.in sbr/dtimep.c
+DISTINCLUDE = config.h.in configure stamp-h.in sbr/dtimep.c ChangeLog
# ... minus (git stuff):
DISTEXCLUDE = .git .gitignore
# ... minus (git stuff):
DISTEXCLUDE = .git .gitignore
@@
-107,7
+107,7
@@
mostlyclean-local:
clean-local: mostlyclean-local
distclean-local: clean-local
clean-local: mostlyclean-local
distclean-local: clean-local
- rm -f Makefile config.h config.status config.log config.cache stamp-h distname
+ rm -f Makefile config.h config.status config.log config.cache stamp-h distname ChangeLog
realclean-local: distclean-local
realclean-local: distclean-local
@@
-135,7
+135,7
@@
Makefile: Makefile.in config.status
config.status: configure VERSION
./config.status --recheck
config.status: configure VERSION
./config.status --recheck
-configure: configure.ac aclocal.m4
+configure: configure.ac
cd $(srcdir) && autoconf
config.h: stamp-h
cd $(srcdir) && autoconf
config.h: stamp-h
@@
-143,7
+143,7
@@
stamp-h: config.h.in config.status
./config.status config.h stamp
config.h.in: stamp-h.in
./config.status config.h stamp
config.h.in: stamp-h.in
-stamp-h.in: configure.ac acconfig.h aclocal.m4
+stamp-h.in: configure.ac
cd $(srcdir) && autoheader
date > $@
cd $(srcdir) && autoheader
date > $@
@@
-164,6
+164,9
@@
distname:
sbr/dtimep.c:
@cd $(srcdir)/sbr && $(MAKE) dtimep.c
sbr/dtimep.c:
@cd $(srcdir)/sbr && $(MAKE) dtimep.c
+ChangeLog:
+ @git whatchanged --format=fuller > $@
+
# build mmh distribution
distdir = `cat distname`
mmhdist: $(DISTINCLUDE) distname
# build mmh distribution
distdir = `cat distname`
mmhdist: $(DISTINCLUDE) distname
@@
-172,13
+175,15
@@
mmhdist: $(DISTINCLUDE) distname
@echo "Copying files to distribution directory"
@git clone $(srcdir) $(distdir)
@chmod 755 $(distdir)
@echo "Copying files to distribution directory"
@git clone $(srcdir) $(distdir)
@chmod 755 $(distdir)
+ @sleep 1 #avoid rebuilding sbr/dtimep.c in release
@for file in $(DISTINCLUDE); do \
cp -p $(srcdir)/$$file $(distdir)/$$file; \
@for file in $(DISTINCLUDE); do \
cp -p $(srcdir)/$$file $(distdir)/$$file; \
+ touch $(distdir)/$$file; \
done
@for file in $(DISTEXCLUDE); do \
rm -rf $(distdir)/$$file; \
done
@chmod -R a+r $(distdir)
done
@for file in $(DISTEXCLUDE); do \
rm -rf $(distdir)/$$file; \
done
@chmod -R a+r $(distdir)
- tar chf - $(distdir) | gzip -c > $(tarfile)
+ tar --owner=0 --group=0 -chf - $(distdir) | gzip -c > $(tarfile)
@rm -rf $(distdir) distname
@echo "Done building mmh-$(VERSION) distribution"
@rm -rf $(distdir) distname
@echo "Done building mmh-$(VERSION) distribution"