7f486ccba1
Makefile.in with loops, the kind that our make doesn't like)
15 lines
808 B
Plaintext
15 lines
808 B
Plaintext
$OpenBSD: patch-admin_am_edit,v 1.1 2001/11/12 22:07:49 espie Exp $
|
|
--- admin/am_edit.orig Mon Nov 12 18:55:28 2001
|
|
+++ admin/am_edit Mon Nov 12 18:57:16 2001
|
|
@@ -1546,7 +1546,9 @@ sub tag_DOCFILES ()
|
|
}
|
|
$lookup = '\nindex.cache.bz2:';
|
|
if ($MakefileData !~ /\n($lookup)/) {
|
|
- $lines .= "index.cache.bz2: \$(srcdir)/index.docbook \$(KDE_XSL_STYLESHEET) $files\n";
|
|
+ $files2= $files;
|
|
+ $files2=~ s/\b\s*index.cache.bz2\s*\b/ /;
|
|
+ $lines .= "index.cache.bz2: \$(srcdir)/index.docbook \$(KDE_XSL_STYLESHEET) $files2\n";
|
|
$lines .= "\t\@if test -n \"\$(MEINPROC)\"; then echo \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; fi\n";
|
|
$lines .= "\n";
|
|
}
|