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
commit306462f0bd313d7db43f9843b60a5a8f1fa018d6 (patch)
tree15ab79cfe7fe6be8e0c1dd0f0675a402628141e8 /maintMakefile
parent3a8a7a5d00c7052c46cef2342792d6a0829db897 (diff)
downloadgunmake-306462f0bd313d7db43f9843b60a5a8f1fa018d6.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 3b15957..a2c9cc7 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".
#