blob: 17fa8fe6f4a2e9879a8d9bcc9155077698673b3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ac,v 1.1.1.1 2004/12/22 12:08:26 drochner Exp $
--- templates/autoformat/Makefile.in.orig 2004-12-20 14:38:53.000000000 +0100
+++ templates/autoformat/Makefile.in
@@ -470,13 +470,13 @@ install-data-local:
< $(srcdir)/$$cat.category.in \
> $$dir/.category ; \
for f in $(srcdir)/autoformat.$$cat.*.xml.in ; do \
- echo " $${f/.*autoformat.$$cat./}" ; \
+ echo " $${f#$(srcdir)/autoformat.$$cat.}" ; \
sed \
-e 's/ _author *=/ author=/' \
-e 's/ _name *=/ name=/' \
-e 's/ _description *=/ description=/' \
< $$f \
- > $$dir/`basename $${f/.xml.in/.xml}` ; \
+ > $$dir/`basename $${f%.in}` ; \
done \
done
|