Fix uip/whom.c for C89 compatibility
[mmh] / Makefile.in
index abe21a7..465beda 100644 (file)
@@ -2,15 +2,15 @@
 # Makefile for top level of mmh distribution
 #
 
-# mmh version
-VERSION = @VERSION@
-
 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,
@@ -143,7 +143,7 @@ stamp-h: config.h.in config.status
        ./config.status config.h stamp
 
 config.h.in: stamp-h.in
-stamp-h.in: configure.ac acconfig.h
+stamp-h.in: configure.ac
        cd $(srcdir) && autoheader
        date > $@
 
@@ -177,6 +177,7 @@ mmhdist: $(DISTINCLUDE) distname
        @chmod 755 $(distdir)
        @for file in $(DISTINCLUDE); do \
          cp -p $(srcdir)/$$file $(distdir)/$$file; \
+         touch $(distdir)/$$file; \
        done
        @for file in $(DISTEXCLUDE); do \
          rm -rf $(distdir)/$$file; \