From 306462f0bd313d7db43f9843b60a5a8f1fa018d6 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 22 Apr 2002 04:35:19 +0000 Subject: 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! --- maintMakefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'maintMakefile') 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". # -- cgit v1.2.3