[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2003-06-13, Angelo Mottola <a.mottola@xxxxxxxxxx> wrote:
> Thanks! It works nicely now, except for a thing: the uninstall-man
> target derived from makefile.in doesn't actually delete *all*
> installed man pages... Some remain: all the ex*.3 and I think
> all the pages related to structure definitions. Looks like the
> sed script that does the job needs updating...
The sed expressions had to be updated. I've commited this patch:
Index: makefile.in
===================================================================
RCS file: /cvsroot/alleg/allegro/makefile.in,v
retrieving revision 1.47
diff -u -r1.47 makefile.in
--- makefile.in 20 May 2003 17:23:41 -0000 1.47
+++ makefile.in 14 Jun 2003 10:53:58 -0000
@@ -517,6 +517,10 @@
| xargs -n 1 rm -f
sed -n -e "s,^@[@\\].*@\([a-zA-Z0-9_]*\)[^a-zA-Z0-9_*].*,$(mandir)/man3/\1.3.gz,p" $(srcdir)/docs/src/allegro._tx \
| xargs -n 1 rm -f
+ sed -n -e "s,^@@Example.*@\(ex.*\),$(mandir)/man3/\1.3,p" $(srcdir)/docs/src/allegro._tx \
+ | xargs -n 1 rm -f
+ sed -n -e "s,^@@\(struct\|typedef\).*@\([a-zA-Z0-9_]*\),/usr/local/man/man3/\2.3,p" $(srcdir)/docs/src/allegro._tx \
+ | xargs -n 1 rm -f
depend:
rm -f makefile.dep