summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-04-22 04:35:19 +0000
committerPaul Smith <psmith@gnu.org>2002-04-22 04:35:19 +0000
commite1eb24abc2e533d30881ce10588cc64e16043e16 (patch)
tree15ab79cfe7fe6be8e0c1dd0f0675a402628141e8 /maintMakefile
parentfdfe2f86640d4815278a7a28ac3306424d3169c9 (diff)
downloadmake-e1eb24abc2e533d30881ce10588cc64e16043e16.tar.gz
Updates for new tools. Everything works now building on Linux,
including creating make packages. I'll try some other systems tomorrow. Also added a new translation: Croatian. Thanks!
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/maintMakefile b/maintMakefile
index 3b15957d..a2c9cc79 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -57,11 +57,20 @@ build.sh.in: build.template Makefile
$< > $@
chmod a-w+x $@
+
# Use automake to build a dependency list file, for "foreign" makefiles like
# Makefile.DOS.
#
+# Automake used to have a --generate-deps flag, but it's gone now, so we have
+# to do it ourselves.
+#
.dep_segment: Makefile.am maintMakefile $(DEP_FILES)
- $(AUTOMAKE) --generate-deps --build-dir=. --srcdir-name=.
+ cat $(DEP_FILES) \
+ | sed -e '/^[^:]*\.[ch] *:/d' \
+ -e 's, /usr/[^ ]*,,g' \
+ -e 's, $(srcdir)/, ,g' \
+ -e '/^ \\$$/d' \
+ > $@
# Get rid of everything "else".
#